[perl-Parallel-ForkManager] Update to latest upstream version.

Jason ティビツ tibbs at fedoraproject.org
Tue Jan 25 03:54:20 UTC 2011


commit 954725d75a1d91b86c039ba41d59518e136317ba
Author: Jason Tibbitts <tibbs at math.uh.edu>
Date:   Mon Jan 24 21:53:53 2011 -0600

    Update to latest upstream version.

 .gitignore                     |    1 +
 perl-Parallel-ForkManager.spec |   32 ++++++++++++++------------------
 sources                        |    2 +-
 3 files changed, 16 insertions(+), 19 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index fd1b2a2..de494b5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 Parallel-ForkManager-0.7.5.tar.gz
+/Parallel-ForkManager-0.7.9.tar.gz
diff --git a/perl-Parallel-ForkManager.spec b/perl-Parallel-ForkManager.spec
index e9f6edb..7654cc1 100644
--- a/perl-Parallel-ForkManager.spec
+++ b/perl-Parallel-ForkManager.spec
@@ -1,12 +1,11 @@
 Name:           perl-Parallel-ForkManager
-Version:        0.7.5
-Release:        7%{?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
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Source0:        http://search.cpan.org/CPAN/authors/id/D/DL/DLUX/Parallel-ForkManager-%{version}.tar.gz
 BuildArch:      noarch
 BuildRequires:  perl(ExtUtils::MakeMaker)
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
@@ -21,11 +20,8 @@ use is a downloader which will be retrieving hundreds/thousands of files.
 
 # 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
@@ -35,21 +31,16 @@ iconv -f iso-8859-1 -t utf-8 < $i > $i. && touch -r $i $i. && mv -f $i. $i
 make %{?_smp_mflags}
 
 %install
-rm -rf $RPM_BUILD_ROOT
+make pure_install PERL_INSTALL_ROOT=%{buildroot}
 
-make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+find %{buildroot} -type f -name .packlist -exec rm -f {} \;
+find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
 
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
-find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
-
-%{_fixperms} $RPM_BUILD_ROOT/*
+%{_fixperms} %{buildroot}/*
 
 %check
 make test
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
 %defattr(-,root,root,-)
 %doc Changes TODO examples/
@@ -57,6 +48,11 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man3/*
 
 %changelog
+* Mon Jan 24 2011 Jason L Tibbitts III <tibbs at math.uh.edu> - 0.7.9-1
+- Update to current upstream version.
+- Handle new upstream treatment of the examples.
+- Update to modern packaging guidelines.
+
 * Tue Dec 21 2010 Marcela Maslanova <mmaslano at redhat.com> - 0.7.5-7
 - 661697 rebuild for fixing problems with vendorach/lib
 
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


More information about the scm-commits mailing list