commit 45d6bf0323ba891fa60038420f1557749f1fda91 Author: Paul Howarth <paul@xxxxxxxxxxxx> Date: Tue Jun 12 00:12:06 2012 +0100 Minor spec clean-up - BR: perl(Data::Dumper) for test suite - Don't need to remove empty directories from the buildroot - Drop %defattr, redundant since rpm 4.4 perl-FileHandle-Unget.spec | 16 +++++++++++----- 1 files changed, 11 insertions(+), 5 deletions(-) --- diff --git a/perl-FileHandle-Unget.spec b/perl-FileHandle-Unget.spec index a1794c6..ae0175e 100644 --- a/perl-FileHandle-Unget.spec +++ b/perl-FileHandle-Unget.spec @@ -4,15 +4,18 @@ Summary: A FileHandle that supports ungetting of multiple bytes Name: perl-FileHandle-Unget Version: 0.1623 -Release: 10%{?dist} +Release: 11%{?dist} License: GPL+ Group: Development/Libraries Url: http://search.cpan.org/dist/FileHandle-Unget/ Source0: http://search.cpan.org/CPAN/authors/id/D/DC/DCOPPIT/FileHandle-Unget-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu) BuildArch: noarch +BuildRequires: perl(Data::Dumper) +BuildRequires: perl(Devel::Leak) +BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Scalar::Util) >= 1.14 -BuildRequires: perl(Devel::Leak), perl(ExtUtils::MakeMaker), perl(Test::More) +BuildRequires: perl(Test::More) Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Provides: perl(FileHandle::Unget) = %{version} @@ -41,7 +44,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 @@ -51,13 +53,17 @@ make test rm -rf %{buildroot} %files -%defattr(-,root,root,-) %doc README CHANGES LICENSE %{perl_vendorlib}/FileHandle/ %{_mandir}/man3/FileHandle::Unget.3pm* %changelog -* Mon Jun 11 2012 Petr Pisar <ppisar@xxxxxxxxxx> - 0.1623-10 +* Mon Jun 11 2012 Paul Howarth <paul@xxxxxxxxxxxx> 0.1623-11 +- BR: perl(Data::Dumper) for test suite +- Don't need to remove empty directories from the buildroot +- Drop %%defattr, redundant since rpm 4.4 + +* Mon Jun 11 2012 Petr Pisar <ppisar@xxxxxxxxxx> 0.1623-10 - Perl 5.16 rebuild * Sat Jan 7 2012 Paul Howarth <paul@xxxxxxxxxxxx> 0.1623-9 -- 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