[perl-PAR] 1.003 bump

Petr Šabata psabata at fedoraproject.org
Tue Nov 29 12:46:24 UTC 2011


commit 675133dd08a570d9aa8c39e14afa8ef691456e9a
Author: Petr Šabata <contyk at redhat.com>
Date:   Tue Nov 29 13:43:41 2011 +0100

    1.003 bump

 .gitignore    |    1 +
 perl-PAR.spec |   28 ++++++++++++----------------
 sources       |    2 +-
 3 files changed, 14 insertions(+), 17 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 37055bf..fff5586 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 PAR-1.000.tar.gz
 /PAR-1.002.tar.gz
+/PAR-1.003.tar.gz
diff --git a/perl-PAR.spec b/perl-PAR.spec
index 1c98bed..3a379ea 100644
--- a/perl-PAR.spec
+++ b/perl-PAR.spec
@@ -1,12 +1,11 @@
 Name:           perl-PAR
-Version:        1.002
-Release:        4%{?dist}
+Version:        1.003
+Release:        1%{?dist}
 Summary:        Perl Archive Toolkit
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/PAR/
-Source0:        http://www.cpan.org/authors/id/S/SM/SMUELLER/PAR-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Source0:        http://search.cpan.org/CPAN/authors/id/R/RS/RSCHUPP/PAR-%{version}.tar.gz
 BuildArch:      noarch
 BuildRequires:  perl(Archive::Zip) >= 1
 BuildRequires:  perl(Compress::Zlib) >= 1.3
@@ -29,28 +28,25 @@ libraries from which Perl modules can be loaded.
 make %{?_smp_mflags}
 
 %install
-rm -rf $RPM_BUILD_ROOT
-
-make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
-
-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/*
+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 \;
+%{_fixperms} %{buildroot}/*
 
 %check
 make test
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
-%defattr(-,root,root,-)
 %doc AUTHORS ChangeLog README TODO
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Tue Nov 29 2011 Petr Šabata <contyk at redhat.com> - 1.003-1
+- 1.003 bump
+- Update Source URL
+- It's time to drop Buildroot and defattr here as well
+
 * Tue Jul 19 2011 Petr Sabata <contyk at redhat.com> - 1.002-4
 - Perl mass rebuild
 
diff --git a/sources b/sources
index 5d6290f..151cf43 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-789a0768881cd051ad7bc2b9d89a56fb  PAR-1.002.tar.gz
+bfdb92cd2c1b507e5704859469ce9a4e  PAR-1.003.tar.gz


More information about the scm-commits mailing list