diff --git a/perl-Pod-Coverage.spec b/perl-Pod-Coverage.spec index 7102601..7f6ca82 100644 --- a/perl-Pod-Coverage.spec +++ b/perl-Pod-Coverage.spec @@ -1,9 +1,6 @@ -%{!?perl_vendorarch: %define perl_vendorarch %(eval "`perl -V:installvendorarch`"; echo $installvendorarch)} - Name: perl-Pod-Coverage Version: 0.17 -Release: 2 - +Release: 3 Summary: Checks if the documentation of a module is comprehensive Group: Development/Libraries @@ -36,10 +33,8 @@ CFLAGS="$RPM_OPT_FLAGS" %{__perl} Build.PL installdirs=vendor %install rm -rf $RPM_BUILD_ROOT -./Build install destdir=$RPM_BUILD_ROOT -find $RPM_BUILD_ROOT -type f -a \( -name .packlist \ - -o \( -name '*.bs' -a -empty \) \) -exec rm -f {} ';' -find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' +./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 +find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';' chmod -R u+w $RPM_BUILD_ROOT/* @@ -61,6 +56,10 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Wed Apr 20 2005 Jose Pedro Oliveira - 0.17-3 +- Avoid .packlist creation with Module::Build >= 0.2609. +- Trust that %%{perl_vendorlib} is defined. + * Fri Apr 7 2005 Michael Schwendt - rebuilt