%define upstream_name Dist-Zilla-Plugin-MakeMaker-SkipInstall %define upstream_version 1.100 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 1 Summary: Skip the install rule of MakeMaker License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module/Dist/%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl(Dist::Zilla) BuildRequires: perl(Dist::Zilla::Plugin::CheckChangeLog) BuildRequires: perl(ExtUtils::MakeMaker) >= 6.310.0 BuildRequires: perl(Test::Exception) BuildRequires: perl(Test::More) >= 0.920.0 BuildArch: noarch %description This small plugin will edit the 'Makefile.PL' file, and override the install target to become a no-op. This will make your module fail the install phase. It will be built, and tested but will never be installed. The most common use for this techinique is for the Task manpage modules. Without a proper install phase, you can install your Task module repetedly. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %{make} %check %{make} test %install rm -rf %buildroot %makeinstall_std %clean rm -rf %buildroot %files %defattr(-,root,root) %doc Changes LICENSE META.yml README %{_mandir}/man3/* %perl_vendorlib/* %changelog * Wed Apr 13 2011 jquelin <jquelin> 1.100.0-1.mga1 + Revision: 84292 - update to 1.100 * Thu Mar 17 2011 jquelin <jquelin> 1.2.0-2.mga1 + Revision: 73113 - fix to match dizl4 api - mageia rebuild - imported package perl-Dist-Zilla-Plugin-MakeMaker-SkipInstall