commit 73d4f18c1316337fa1fc74f94a9e8926f4b25e41 Author: Petr PÃsaÅ <ppisar@xxxxxxxxxx> Date: Wed Apr 27 18:13:37 2011 +0200 1.011 bump .gitignore | 1 + perl-Test-DistManifest.spec | 23 +++++++++++++++-------- sources | 2 +- 3 files changed, 17 insertions(+), 9 deletions(-) --- diff --git a/.gitignore b/.gitignore index 1f40bb0..2b10cde 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /Test-DistManifest-1.009.tar.gz +/Test-DistManifest-1.011.tar.gz diff --git a/perl-Test-DistManifest.spec b/perl-Test-DistManifest.spec index 9533fe4..93a09e8 100644 --- a/perl-Test-DistManifest.spec +++ b/perl-Test-DistManifest.spec @@ -1,5 +1,5 @@ Name: perl-Test-DistManifest -Version: 1.009 +Version: 1.011 Release: 1%{?dist} Summary: Author test that validates a package MANIFEST License: GPL+ or Artistic @@ -7,24 +7,25 @@ Group: Development/Libraries URL: http://search.cpan.org/dist/Test-DistManifest/ Source0: http://www.cpan.org/authors/id/J/JA/JAWNSY/Test-DistManifest-%{version}.tar.gz BuildArch: noarch +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.31 BuildRequires: perl(File::Spec) BuildRequires: perl(File::Spec::Unix) -BuildRequires: perl(Module::Build) BuildRequires: perl(Module::Manifest) >= 0.07 -BuildRequires: perl(Test::Builder) >= 0.72 +BuildRequires: perl(Test::Builder) BuildRequires: perl(Test::More) >= 0.62 # Tests only: BuildRequires: perl(Test::Builder::Tester) BuildRequires: perl(Test::NoWarnings) >= 0.084 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) Requires: perl(Module::Manifest) >= 0.07 -Requires: perl(Test::Builder) >= 0.72 +Requires: perl(Test::Builder) # This is a plug-in into Test::More. Depend on it even if not mentioned in the # code Requires: perl(Test::More) >= 0.62 # Filter underspecifed dependencies %filter_from_requires /^perl(Module::Manifest)$/d +# Filter multiple dependencies %filter_from_requires /^perl(Test::Builder)$/d %filter_setup @@ -36,18 +37,20 @@ distribution. %setup -q -n Test-DistManifest-%{version} %build -%{__perl} Build.PL installdirs=core -./Build +%{__perl} Makefile.PL INSTALLDIRS=perl OPTIMIZE="$RPM_OPT_FLAGS" +make %{?_smp_mflags} %install -./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 +make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; +find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check # post-install rpmbuild scripts contaminates RPM_BUILD_ROOT (bug #672538). rm debug*.list -./Build test +make test %files %defattr(-,root,root,-) @@ -56,6 +59,10 @@ rm debug*.list %{_mandir}/man3/* %changelog +* Wed Apr 27 2011 Petr Pisar <ppisar@xxxxxxxxxx> - 1.011-1 +- 1.011 bump +- Move to ExtUtils::MakeMaker + * Tue Jan 25 2011 Petr Pisar <ppisar@xxxxxxxxxx> 1.009-1 - Specfile autogenerated by cpanspec 1.78. - Remove BuildRoot stuff diff --git a/sources b/sources index 1b706ad..622df2c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -014331ccac1b3efe49f0a55fc59e552d Test-DistManifest-1.009.tar.gz +669c4f3e99dd60f1a7a198b3b2e61026 Test-DistManifest-1.011.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel