[perl-Class-Loader] Remove redundant spec elements
Paul Howarth
pghmcfc at fedoraproject.org
Thu Feb 14 21:24:46 UTC 2013
commit 7f316829507ff8905bfd7e28435853177e0586db
Author: Paul Howarth <paul at city-fan.org>
Date: Thu Feb 14 11:27:50 2013 +0000
Remove redundant spec elements
- Don't need to remove empty directories from the buildroot
- Drop %defattr, redundant since rpm 4.4
perl-Class-Loader.spec | 18 ++++++++++--------
1 files changed, 10 insertions(+), 8 deletions(-)
---
diff --git a/perl-Class-Loader.spec b/perl-Class-Loader.spec
index 0f29772..63bfc02 100644
--- a/perl-Class-Loader.spec
+++ b/perl-Class-Loader.spec
@@ -1,16 +1,16 @@
Summary: Load modules and create objects on demand
Name: perl-Class-Loader
Version: 2.03
-Release: 17%{?dist}
+Release: 18%{?dist}
License: GPL+ or Artistic
Group: Development/Libraries
Url: http://search.cpan.org/dist/Class-Loader/
Source0: http://search.cpan.org/CPAN/authors/id/V/VI/VIPUL/Class-Loader-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
BuildArch: noarch
-BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Data::Dumper)
-BuildRequires: perl(Test)
+BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(Test)
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%description
@@ -39,7 +39,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
@@ -49,19 +48,22 @@ make test
rm -rf %{buildroot}
%files
-%defattr(-,root,root,-)
%doc ARTISTIC Changes
%{perl_vendorlib}/Class/
%{_mandir}/man3/Class::Loader.3pm*
%changelog
-* Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.03-17
+* Thu Feb 14 2013 Paul Howarth <paul at city-fan.org> 2.03-18
+- Don't need to remove empty directories from the buildroot
+- Drop %%defattr, redundant since rpm 4.4
+
+* Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> 2.03-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
-* Fri Jul 20 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.03-16
+* Fri Jul 20 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> 2.03-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
-* Fri Jun 08 2012 Petr Pisar <ppisar at redhat.com> - 2.03-15
+* Fri Jun 8 2012 Petr Pisar <ppisar at redhat.com> 2.03-15
- Perl 5.16 rebuild
- Specify all dependencies
More information about the perl-devel
mailing list