BR: gcc for build and perl(Storable) for optional test
Other minor clean-ups: - Simplify find command using -empty - Drop legacy Group: tag - Ship README file
This commit is contained in:
parent
59f9f513de
commit
35e2970547
@ -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 <paul@city-fan.org> - 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 <releng@fedoraproject.org> - 0.39-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user