[perl-rpm-build-perl] 0.82 bump

Petr Pisar ppisar at fedoraproject.org
Mon Oct 1 14:09:42 UTC 2012


commit 58e73429c095b80cabd901a7f7d35527d1819aee
Author: Petr Písař <ppisar at redhat.com>
Date:   Mon Oct 1 14:06:50 2012 +0000

    0.82 bump

 .gitignore                                     |    1 +
 perl-rpm-build-perl.spec                       |   20 +++++++------
 rpm-build-perl-0.80-Adapt-to-perl-5.16.0.patch |   36 ------------------------
 sources                                        |    2 +-
 4 files changed, 13 insertions(+), 46 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 51e3939..6802e25 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 rpm-build-perl-0.72.tar.gz
 /rpm-build-perl-0.74.tar.gz
 /rpm-build-perl-0.80.tar.gz
+/rpm-build-perl-0.82.tar.gz
diff --git a/perl-rpm-build-perl.spec b/perl-rpm-build-perl.spec
index 8732fbe..c2ab0da 100644
--- a/perl-rpm-build-perl.spec
+++ b/perl-rpm-build-perl.spec
@@ -1,6 +1,6 @@
 Name:       perl-rpm-build-perl 
-Version:    0.80
-Release:    3%{?dist}
+Version:    0.82
+Release:    1%{?dist}
 # README: GPLv2+
 # perl.prov: LGPLv2+
 License:    GPLv2+
@@ -8,9 +8,6 @@ Group:      Development/Libraries
 Summary:    Perl compiler back-end to extract Perl dependencies 
 Url:        http://search.cpan.org/dist/rpm-build-perl
 Source:     http://search.cpan.org/CPAN/authors/id/A/AT/ATOURBIN/rpm-build-perl-%{version}.tar.gz 
-# Adapt to perl 5.16, CPAN RT #77778
-Patch0:     rpm-build-perl-0.80-Adapt-to-perl-5.16.0.patch
-BuildArch:  noarch
 BuildRequires:  perl(ExtUtils::MakeMaker) 
 # Run-time
 BuildRequires:  perl(B)
@@ -20,6 +17,7 @@ BuildRequires:  perl(Encode)
 BuildRequires:  perl(Exporter)
 BuildRequires:  perl(File::Spec::Functions)
 BuildRequires:  perl(version)
+BuildRequires:  perl(XSLoader)
 # Tests
 BuildRequires:  perl(Data::Dumper)
 BuildRequires:  perl(Test::More)
@@ -29,6 +27,8 @@ Requires:       perl(Carp)
 Requires:       perl(Encode)
 Requires:       perl(version)
 
+%{?perl_default_filter}
+
 # Do not export private modules
 %global __provides_exclude %{?__provides_exclude:%__provides_exclude|}^perl\\(fake\\)
 
@@ -42,6 +42,7 @@ packaging).
 %package scripts
 Summary:    Perl RPM prov/req scripts
 Group:      Development/Libraries
+BuildArch:  noarch
 Requires:   %{name} = %{version}-%{release}
 
 %description scripts
@@ -49,16 +50,14 @@ The provides/requires scripts packaged along with perl-rpm-build-perl.
 
 %prep
 %setup -q -n rpm-build-perl-%{version}
-%patch0 -p1
 
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
 %install
-make pure_install PERL_INSTALL_ROOT=%{buildroot}
+make pure_install DESTDIR=%{buildroot}
 find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
-find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
 %{_fixperms} %{buildroot}/*
 
 %check
@@ -66,7 +65,7 @@ make test
 
 %files
 %doc README* Changes perl5-alt-rpm-macros macros.env
-%{perl_vendorlib}/*
+%{perl_vendorarch}/*
 %{_mandir}/man3/*.3*
 
 %files scripts
@@ -74,6 +73,9 @@ make test
 %{_mandir}/man1/*.1*
 
 %changelog
+* Mon Oct 01 2012 Petr Pisar <ppisar at redhat.com> - 0.82-1
+- 0.82 bump
+
 * Fri Jul 20 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.80-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 
diff --git a/sources b/sources
index 9c16b73..1bf2a25 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-0ce2716ea447362fa2879684b5daafe7  rpm-build-perl-0.80.tar.gz
+1cfb4f6a0842d04ef39fd945abacce91  rpm-build-perl-0.82.tar.gz


More information about the scm-commits mailing list