commit 6667f12813ad1c1a98cd34f5f8b02623886dff1a Author: Paul Howarth <paul@xxxxxxxxxxxx> Date: Mon Jan 31 09:27:01 2011 +0000 Fix license, tweak for EL-4 compatibility .gitignore | 2 +- perl-Sub-Exporter.spec | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) --- diff --git a/.gitignore b/.gitignore index f6b180c..4aa91af 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -Sub-Exporter-0.970.tar.gz +/Sub-Exporter-0.975.tar.gz diff --git a/perl-Sub-Exporter.spec b/perl-Sub-Exporter.spec index 727ee66..4ea9744 100644 --- a/perl-Sub-Exporter.spec +++ b/perl-Sub-Exporter.spec @@ -2,7 +2,7 @@ Name: perl-Sub-Exporter Version: 0.975 Release: 1%{?dist} Summary: Sophisticated exporter for custom-built routines -License: GPL or Artistic +License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Sub-Exporter/ Source0: http://www.cpan.org/authors/id/R/RJ/RJBS/Sub-Exporter-%{version}.tar.gz @@ -30,7 +30,7 @@ Sub::Exporter::Tutorial first! %prep %setup -q -n Sub-Exporter-%{version} -find t/ -type f -exec perl -pi -e 's|^#!perl|#!/usr/bin/perl|' {} + +find t/ -type f -exec perl -pi -e 's|^#!perl|#!/usr/bin/perl|' {} \; %build %{__perl} Makefile.PL INSTALLDIRS=vendor @@ -41,8 +41,8 @@ rm -rf %{buildroot} make pure_install PERL_INSTALL_ROOT=%{buildroot} -find %{buildroot} -type f -name .packlist -exec rm -f {} + -find %{buildroot} -depth -type d -exec rmdir --ignore-fail-on-non-empty {} + +find %{buildroot} -type f -name .packlist -exec rm -f {} \; +find %{buildroot} -depth -type d -exec /bin/rmdir {} \; 2>/dev/null %{_fixperms} %{buildroot}/* -- 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