commit 3c2c3c72f440600fc7d6c302b59b0b4d4dc45fbf Author: remi <fedora@xxxxxxxxxxxxxxxxx> Date: Sat Aug 6 18:01:19 2011 +0200 import in EPEL-6 .gitignore | 3 +- perl-Parallel-ForkManager.spec | 44 +++++++++++++++++++++++---------------- sources | 2 +- 3 files changed, 29 insertions(+), 20 deletions(-) --- diff --git a/.gitignore b/.gitignore index fd1b2a2..bc7eb59 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -Parallel-ForkManager-0.7.5.tar.gz +*spec~ +/Parallel-ForkManager-0.7.9.tar.gz diff --git a/perl-Parallel-ForkManager.spec b/perl-Parallel-ForkManager.spec index ef9246e..a6a0c35 100644 --- a/perl-Parallel-ForkManager.spec +++ b/perl-Parallel-ForkManager.spec @@ -1,14 +1,16 @@ Name: perl-Parallel-ForkManager -Version: 0.7.5 -Release: 4%{?dist} +Version: 0.7.9 +Release: 1%{?dist} Summary: Simple parallel processing fork manager License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Parallel-ForkManager/ -Source0: http://www.cpan.org/modules/by-module/Parallel/Parallel-ForkManager-%{version}.tar.gz +Source0: http://search.cpan.org/CPAN/authors/id/D/DL/DLUX/Parallel-ForkManager-%{version}.tar.gz + BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) + Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description @@ -16,39 +18,42 @@ This module is intended for use in operations that can be done in parallel where the number of processes to be forked off should be limited. Typical use is a downloader which will be retrieving hundreds/thousands of files. + %prep %setup -q -n Parallel-ForkManager-%{version} # Prepare the example scripts for inclusion as documentation, as they are not # generally useful and have additional dependencies. -mkdir examples -sed -i -e '1d' ForkManager/*.pl -chmod 644 ForkManager/*.pl -mv ForkManager/*.pl examples -rmdir ForkManager +sed -i -e '1d' examples/*.pl +chmod 644 examples/*.pl i=ForkManager.pm iconv -f iso-8859-1 -t utf-8 < $i > $i. && touch -r $i $i. && mv -f $i. $i + %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} + %install -rm -rf $RPM_BUILD_ROOT +rm -rf %{buildroot} -make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT +make pure_install PERL_INSTALL_ROOT=%{buildroot} -find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; -find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; +find %{buildroot} -type f -name .packlist -exec rm -f {} \; +find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} %{buildroot}/* -%{_fixperms} $RPM_BUILD_ROOT/* %check make test + %clean -rm -rf $RPM_BUILD_ROOT +rm -rf %{buildroot} + %files %defattr(-,root,root,-) @@ -56,12 +61,15 @@ rm -rf $RPM_BUILD_ROOT %{perl_vendorlib}/* %{_mandir}/man3/* + %changelog -* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.7.5-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild +* Sun Aug 06 2011 Remi Collet <remi@xxxxxxxxxxxxxxxxx> - 0.7.9-1 +- EPEL-6 build -* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.7.5-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild +* Mon Jan 24 2011 Jason L Tibbitts III <tibbs@xxxxxxxxxxx> - 0.7.9-1 +- Update to current upstream version. +- Handle new upstream treatment of the examples. +- Update to modern packaging guidelines. * Thu Mar 06 2008 Tom "spot" Callaway <tcallawa@xxxxxxxxxx> - 0.7.5-2 Rebuild for new perl diff --git a/sources b/sources index b8cf63d..7da011a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -ec12f36370329e2c235284f5cb4ed427 Parallel-ForkManager-0.7.5.tar.gz +b49dbc6fafb697945d33ffbded0009f7 Parallel-ForkManager-0.7.9.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