[perl-Module-Build/f15/master] Align epoch with module from Core

Petr Pisar ppisar at fedoraproject.org
Wed Mar 2 15:20:16 UTC 2011


commit e53f3506ca371e2afd29ffb7a1c4b9e7d95f9656
Author: Petr Písař <ppisar at redhat.com>
Date:   Wed Mar 2 16:03:49 2011 +0100

    Align epoch with module from Core

 perl-Module-Build.spec |   15 ++++++---------
 1 files changed, 6 insertions(+), 9 deletions(-)
---
diff --git a/perl-Module-Build.spec b/perl-Module-Build.spec
index 5745784..b65f8fd 100644
--- a/perl-Module-Build.spec
+++ b/perl-Module-Build.spec
@@ -1,12 +1,12 @@
 Name:           perl-Module-Build
+Epoch:          1
 Version:        0.3624
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Build and install Perl modules
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Module-Build/
 Source0:        http://www.cpan.org/authors/id/D/DA/DAGOLDEN/Module-Build-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 BuildRequires:  perl(CPAN::Meta::YAML) >= 0.002
 BuildRequires:  perl(ExtUtils::CBuilder) >= 0.27
@@ -52,22 +52,15 @@ works fine on perl 5.005 if you can install a few additional modules.
 ./Build
 
 %install
-rm -rf $RPM_BUILD_ROOT
-
 ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
 find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
-
 %{_fixperms} $RPM_BUILD_ROOT/*
 
 %check
 rm t/signature.t
 LANG=C TEST_SIGNATURE=1 MB_TEST_EXPERIMENTAL=1 ./Build test
-
 #./Build test
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
 %defattr(-,root,root,-)
 %doc Changes contrib LICENSE README scripts
@@ -77,6 +70,10 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man3/*
 
 %changelog
+* Wed Mar 02 2011 Petr Pisar <ppisar at redhat.com> - 1:0.3624-2
+- Raise epoch to  Core level
+- Remove BuildRoot stuff
+
 * Mon Feb 28 2011 Marcela Mašláňová <mmaslano at redhat.com> 0.3624-1
 - update to new version
 - fix BR, R



More information about the perl-devel mailing list