diff --git a/perl-Clone.spec b/perl-Clone.spec index 964c135..f221ee0 100644 --- a/perl-Clone.spec +++ b/perl-Clone.spec @@ -1,17 +1,18 @@ Name: perl-Clone Version: 0.39 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Recursively copy perl data types -Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/Clone -Source: http://search.cpan.org/CPAN/authors/id/G/GA/GARU/Clone-%{version}.tar.gz +Source0: http://search.cpan.org/CPAN/authors/id/G/GA/GARU/Clone-%{version}.tar.gz +# Build BuildRequires: coreutils BuildRequires: findutils +BuildRequires: gcc BuildRequires: make -BuildRequires: perl-interpreter BuildRequires: perl-devel BuildRequires: perl-generators +BuildRequires: perl-interpreter BuildRequires: perl(ExtUtils::MakeMaker) # Run-time: BuildRequires: perl(AutoLoader) @@ -27,6 +28,7 @@ BuildRequires: perl(warnings) BuildRequires: perl(Data::Dumper) BuildRequires: perl(Hash::Util::FieldHash) BuildRequires: perl(Scalar::Util) +BuildRequires: perl(Storable) BuildRequires: perl(Taint::Runtime) Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) @@ -52,19 +54,25 @@ make %{?_smp_mflags} %install make pure_install DESTDIR=%{buildroot} find %{buildroot} -type f -name .packlist -delete -find %{buildroot} -type f -name '*.bs' -a -size 0 -delete -%{_fixperms} %{buildroot}/* +find %{buildroot} -type f -name '*.bs' -empty -delete +%{_fixperms} -c %{buildroot} %check make test %files -%doc Changes +%doc Changes README %{perl_vendorarch}/auto/Clone/ %{perl_vendorarch}/Clone.pm -%{_mandir}/man3/*.3* +%{_mandir}/man3/Clone.3* %changelog +* Wed Mar 7 2018 Paul Howarth - 0.39-6 +- BR: gcc for build and perl(Storable) for optional test +- Simplify find command using -empty +- Drop legacy Group: tag +- Ship README file + * Thu Feb 08 2018 Fedora Release Engineering - 0.39-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild