[perl-Package-Generator] Drop EPEL-4 support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit c384bcd8930608777b76df8b44a30d7765bcf52d
Author: Paul Howarth <paul@xxxxxxxxxxxx>
Date:   Fri Aug 24 13:01:40 2012 +0100

    Drop EPEL-4 support
    
    - Drop EPEL-4 support
    - Drop %defattr, redundant since rpm 4.4
    - Don't need to remove empty directories from the buildroot
    - BR: perl(File::Spec)

 perl-Package-Generator.spec |   14 +++++++++-----
 1 files changed, 9 insertions(+), 5 deletions(-)
---
diff --git a/perl-Package-Generator.spec b/perl-Package-Generator.spec
index 21cb00f..355f807 100644
--- a/perl-Package-Generator.spec
+++ b/perl-Package-Generator.spec
@@ -1,6 +1,6 @@
 Name:		perl-Package-Generator
 Version:	0.103
-Release:	13%{?dist}
+Release:	14%{?dist}
 Summary:	Generate new packages quickly and easily
 License:	GPL+ or Artistic
 Group:		Development/Libraries
@@ -12,6 +12,7 @@ BuildRequires:	perl(Carp)
 BuildRequires:	perl(Cwd)
 BuildRequires:	perl(ExtUtils::MakeMaker)
 BuildRequires:	perl(File::Path)
+BuildRequires:	perl(File::Spec)
 BuildRequires:	perl(Params::Util)
 BuildRequires:	perl(Scalar::Util)
 BuildRequires:	perl(Symbol)
@@ -19,8 +20,7 @@ BuildRequires:	perl(Test::More)
 # Test::Perl::Critic -> Perl::Critic -> Exception::Class -> Test::EOL ->
 #   Pod::Coverage::TrustPod -> Pod::Eventual -> Mixin::Linewise ->
 #   Sub::Exporter -> Package::Generator
-# Test::Perl::Critic not available in EPEL-4
-%if "%{rhel}" != "4" && 0%{!?perl_bootstrap:1}
+%if 0%{!?perl_bootstrap:1}
 BuildRequires:	perl(Test::Perl::Critic)
 %endif
 BuildRequires:	perl(Test::Pod)
@@ -42,7 +42,6 @@ make %{?_smp_mflags}
 rm -rf %{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
@@ -52,13 +51,18 @@ make test %{!?perl_bootstrap:PERL_TEST_CRITIC=1}
 rm -rf %{buildroot}
 
 %files
-%defattr(-,root,root,-)
 %doc Changes LICENSE README
 %{perl_vendorlib}/Package/
 %{_mandir}/man3/Package::Generator.3pm*
 %{_mandir}/man3/Package::Reaper.3pm*
 
 %changelog
+* Fri Aug 24 2012 Paul Howarth <paul@xxxxxxxxxxxx> - 0.103-14
+- Drop EPEL-4 support
+- Drop %%defattr, redundant since rpm 4.4
+- Don't need to remove empty directories from the buildroot
+- BR: perl(File::Spec)
+
 * Tue Aug 14 2012 Petr Pisar <ppisar@xxxxxxxxxx> - 0.103-13
 - Specify all dependencies
 - Package LICENSE
--
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



[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux