Spec tidy-up

- Use author-independent source URL
- Drop redundant use of %{?perl_default_filter}
- Simplify find command using -delete
- Fix permissions verbosely
epel9
Paul Howarth 5 years ago
parent 8f76b842b7
commit 9831e6f356

@ -1,16 +1,17 @@
Name: perl-Sub-Exporter-ForMethods Name: perl-Sub-Exporter-ForMethods
Version: 0.100052 Version: 0.100052
Release: 12%{?dist} Release: 13%{?dist}
Summary: Helper routines for using Sub::Exporter to build methods Summary: Helper routines for using Sub::Exporter to build methods
License: GPL+ or Artistic License: GPL+ or Artistic
URL: https://metacpan.org/release/Sub-Exporter-ForMethods URL: https://metacpan.org/release/Sub-Exporter-ForMethods
Source0: https://cpan.metacpan.org/authors/id/R/RJ/RJBS/Sub-Exporter-ForMethods-%{version}.tar.gz Source0: https://cpan.metacpan.org/modules/by-module/Sub/Sub-Exporter-ForMethods-%{version}.tar.gz
BuildArch: noarch BuildArch: noarch
# Build:
BuildRequires: coreutils BuildRequires: coreutils
BuildRequires: findutils BuildRequires: findutils
BuildRequires: make BuildRequires: make
BuildRequires: perl-interpreter
BuildRequires: perl-generators BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(strict) BuildRequires: perl(strict)
BuildRequires: perl(warnings) BuildRequires: perl(warnings)
@ -25,10 +26,9 @@ BuildRequires: perl(File::Spec)
BuildRequires: perl(lib) BuildRequires: perl(lib)
BuildRequires: perl(namespace::autoclean) BuildRequires: perl(namespace::autoclean)
BuildRequires: perl(Test::More) >= 0.88 BuildRequires: perl(Test::More) >= 0.88
# Dependencies:
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%{?perl_default_filter}
%description %description
This package provides helper routines for using Sub::Exporter to build methods This package provides helper routines for using Sub::Exporter to build methods
that won't be removed by namespace::autoclean. that won't be removed by namespace::autoclean.
@ -41,9 +41,9 @@ perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
make pure_install DESTDIR=$RPM_BUILD_ROOT make pure_install DESTDIR=%{buildroot}
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find %{buildroot} -type f -name .packlist -delete
%{_fixperms} $RPM_BUILD_ROOT/* %{_fixperms} -c %{buildroot}
%check %check
make test make test
@ -55,6 +55,13 @@ make test
%{_mandir}/man3/Sub::Exporter::ForMethods.3* %{_mandir}/man3/Sub::Exporter::ForMethods.3*
%changelog %changelog
* Fri Oct 18 2019 Paul Howarth <paul@city-fan.org> - 0.100052-13
- Spec tidy-up
- Use author-independent source URL
- Drop redundant use of %%{?perl_default_filter}
- Simplify find command using -delete
- Fix permissions verbosely
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.100052-12 * Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.100052-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

Loading…
Cancel
Save