commit abb70de1902e5ca63911e7ee643ca9d72f996766 Author: Paul Howarth <paul@xxxxxxxxxxxx> Date: Tue Jun 12 00:23:19 2012 +0100 Minor spec clean-up - BR: perl(Data::Dumper) - Drop %defattr, redundant since rpm 4.4 - Don't need to remove empty directories from the buildroot - Use %{_fixperms} macro rather than our own chmod incantation perl-Text-Hunspell.spec | 14 +++++++++----- 1 files changed, 9 insertions(+), 5 deletions(-) --- diff --git a/perl-Text-Hunspell.spec b/perl-Text-Hunspell.spec index b53a5c1..c575087 100644 --- a/perl-Text-Hunspell.spec +++ b/perl-Text-Hunspell.spec @@ -1,13 +1,13 @@ Name: perl-Text-Hunspell Version: 2.03 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Perl interface to the Hunspell library Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/text_hunspell/ Source0: http://search.cpan.org/CPAN/authors/id/C/CO/COSIMO/Text-Hunspell-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu) -BuildRequires: perl(ExtUtils::MakeMaker), perl(Test::More), perl(Test::Pod) +BuildRequires: perl(Data::Dumper), perl(ExtUtils::MakeMaker), perl(Test::More), perl(Test::Pod) BuildRequires: gcc-c++, hunspell-devel >= 1.2.8, hunspell-en Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) @@ -36,8 +36,7 @@ rm -rf %{buildroot} make pure_install DESTDIR=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} ';' find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';' -find %{buildroot} -depth -type d -exec rmdir {} ';' 2>/dev/null -chmod -c -R u+w %{buildroot} +%{_fixperms} %{buildroot} %check LANG=en_US make test TEST_POD=1 TEST_VERBOSE=1 @@ -46,13 +45,18 @@ LANG=en_US make test TEST_POD=1 TEST_VERBOSE=1 rm -rf %{buildroot} %files -%defattr(-,root,root,-) %doc Changes README examples/ %{perl_vendorarch}/auto/Text/ %{perl_vendorarch}/Text/ %{_mandir}/man3/Text::Hunspell.3pm* %changelog +* Mon Jun 11 2012 Paul Howarth <paul@xxxxxxxxxxxx> - 2.03-4 +- BR: perl(Data::Dumper) +- Drop %%defattr, redundant since rpm 4.4 +- Don't need to remove empty directories from the buildroot +- Use %%{_fixperms} macro rather than our own chmod incantation + * Mon Jun 11 2012 Petr Pisar <ppisar@xxxxxxxxxx> - 2.03-3 - Perl 5.16 rebuild -- 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