rpms/perl-Sub-Exporter/F-7 perl-Sub-Exporter.spec, 1.3, 1.4 sources, 1.3, 1.4
Chris Weyl (cweyl)
fedora-extras-commits at redhat.com
Fri Jun 1 21:20:05 UTC 2007
Author: cweyl
Update of /cvs/extras/rpms/perl-Sub-Exporter/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv1979/F-7
Modified Files:
perl-Sub-Exporter.spec sources
Log Message:
* Fri Jun 01 2007 Chris Weyl <cweyl at alumni.drew.edu> 0.974-1
- update to 0.974
Index: perl-Sub-Exporter.spec
===================================================================
RCS file: /cvs/extras/rpms/perl-Sub-Exporter/F-7/perl-Sub-Exporter.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- perl-Sub-Exporter.spec 9 Dec 2006 20:21:37 -0000 1.3
+++ perl-Sub-Exporter.spec 1 Jun 2007 21:19:30 -0000 1.4
@@ -1,5 +1,5 @@
Name: perl-Sub-Exporter
-Version: 0.972
+Version: 0.974
Release: 1%{?dist}
Summary: Sophisticated exporter for custom-built routines
License: GPL or Artistic
@@ -8,7 +8,10 @@
Source0: http://www.cpan.org/authors/id/R/RJ/RJBS/Sub-Exporter-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(Test::More)
BuildRequires: perl(Data::OptList) >= 0.1
BuildRequires: perl(Params::Util) >= 0.14
BuildRequires: perl(Sub::Install) >= 0.92
@@ -16,7 +19,6 @@
BuildRequires: perl(Test::Pod::Coverage), perl(Test::Pod)
BuildRequires: perl(Package::Generator)
-Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
Sub::Exporter provides a sophisticated alternative to Exporter.pm. It allows
@@ -28,6 +30,8 @@
%prep
%setup -q -n Sub-Exporter-%{version}
+find t/ -type f -exec perl -pi -e 's|^#!perl|#!/usr/bin/perl|' {} +
+
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
@@ -37,8 +41,8 @@
make pure_install PERL_INSTALL_ROOT=%{buildroot}
-find %{buildroot} -type f -name .packlist -exec rm -f {} \;
-find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
+find %{buildroot} -type f -name .packlist -exec rm -f {} +
+find %{buildroot} -depth -type d -exec rmdir --ignore-fail-on-non-empty {} +
%{_fixperms} %{buildroot}/*
@@ -50,11 +54,14 @@
%files
%defattr(-,root,root,-)
-%doc Changes README
+%doc Changes README t/
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
+* Fri Jun 01 2007 Chris Weyl <cweyl at alumni.drew.edu> 0.974-1
+- update to 0.974
+
* Sat Dec 09 2006 Chris Weyl <cweyl at alumni.drew.edu> 0.972-1
- update to 0.972
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-Sub-Exporter/F-7/sources,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- sources 9 Dec 2006 20:21:37 -0000 1.3
+++ sources 1 Jun 2007 21:19:30 -0000 1.4
@@ -1 +1 @@
-a56e829068eab18112df68260d335932 Sub-Exporter-0.972.tar.gz
+916be83adf51eb8a0412f98e72605c88 Sub-Exporter-0.974.tar.gz
More information about the fedora-extras-commits
mailing list