[perl-IO-stringy] More clean-up
Paul Howarth
pghmcfc at fedoraproject.org
Fri Apr 6 15:00:05 UTC 2012
commit 45da32864e22a91c67419ca907b255ffab4dc1d9
Author: Paul Howarth <paul at city-fan.org>
Date: Fri Apr 6 15:59:08 2012 +0100
More clean-up
- Don't build-require modules that this package provides (problem stupidly
introduced in previous release)
- Don't need to remove empty directories from buildroot
- Drop %defattr, redundant since rpm 4.4
perl-IO-stringy.spec | 13 +++++++------
1 files changed, 7 insertions(+), 6 deletions(-)
---
diff --git a/perl-IO-stringy.spec b/perl-IO-stringy.spec
index 95fc07f..4101200 100644
--- a/perl-IO-stringy.spec
+++ b/perl-IO-stringy.spec
@@ -1,7 +1,7 @@
Summary: I/O on in-core objects like strings and arrays for Perl
Name: perl-IO-stringy
Version: 2.110
-Release: 17%{?dist}
+Release: 18%{?dist}
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/IO-stringy/
@@ -14,9 +14,6 @@ BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(FileHandle)
BuildRequires: perl(IO::File)
BuildRequires: perl(IO::Handle)
-BuildRequires: perl(IO::Scalar)
-BuildRequires: perl(IO::ScalarArray)
-BuildRequires: perl(IO::WrapTie)
BuildRequires: perl(Symbol)
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
@@ -45,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
@@ -55,7 +51,6 @@ make test
rm -rf %{buildroot}
%files
-%defattr(-,root,root,-)
%doc README COPYING examples
%{perl_vendorlib}/IO/
%{_mandir}/man3/IO::AtomicFile.3pm*
@@ -68,6 +63,12 @@ rm -rf %{buildroot}
%{_mandir}/man3/IO::WrapTie.3pm*
%changelog
+* Fri Apr 6 2012 Paul Howarth <paul at city-fan.org> 2.110-18
+- don't build-require modules that this package provides (problem stupidly
+ introduced in previous release)
+- don't need to remove empty directories from buildroot
+- drop %%defattr, redundant since rpm 4.4
+
* Thu Jan 12 2012 Paul Howarth <paul at city-fan.org> 2.110-17
- spec clean-up:
- nobody else likes macros for commands
More information about the scm-commits
mailing list