Notification time stamped 2019-11-05 16:24:33 UTC
From 5fde355c5c57966ada6e985fdba8b8d58254440e Mon Sep 17 00:00:00 2001 From: Paul Howarth paul@city-fan.org Date: Nov 05 2019 16:23:54 +0000 Subject: Tweak for EPEL-8 build
- Use author-independent source URL - Classify buildreqs by usage - Use %{make_build} and %{make_install} - Fix permissions verbosely - Make %files list more explicit
---
diff --git a/perl-namespace-sweep.spec b/perl-namespace-sweep.spec index 3be791b..6e16ebd 100644 --- a/perl-namespace-sweep.spec +++ b/perl-namespace-sweep.spec @@ -1,37 +1,37 @@ Name: perl-namespace-sweep Version: 0.006 -Release: 9%{?dist} +Release: 10%{?dist} Summary: Sweep up imported subs in your classes License: GPL+ or Artistic URL: https://metacpan.org/release/namespace-sweep -Source0: https://cpan.metacpan.org/authors/id/F/FR/FRIEDO/namespace-sweep-%%7Bversion... +Source0: https://cpan.metacpan.org/modules/by-module/namespace/namespace-sweep-%%7Bve... BuildArch: noarch - -BuildRequires: %{__perl} -BuildRequires: %{__make} - +# Build +BuildRequires: coreutils +BuildRequires: make BuildRequires: perl-generators - +BuildRequires: perl-interpreter +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 +# Module BuildRequires: perl(B::Hooks::EndOfScope) >= 0.09 BuildRequires: perl(Carp) BuildRequires: perl(Data::Dumper) -BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30 BuildRequires: perl(List::Util) BuildRequires: perl(Package::Stash) >= 0.33 BuildRequires: perl(Scalar::Util) -BuildRequires: perl(Sub::Identify) >= 0.04 -BuildRequires: perl(Sub::Name) -BuildRequires: perl(Test::More) BuildRequires: perl(strict) +BuildRequires: perl(Sub::Identify) >= 0.04 BuildRequires: perl(warnings) - -# Optional testsuite requirements -BuildRequires: perl(Moo) +# Test Suite +BuildRequires: perl(overload) +BuildRequires: perl(Sub::Name) +BuildRequires: perl(Test::More) >= 0.88 +# Optional Tests +BuildRequires: perl(Moo) BuildRequires: perl(Moose) BuildRequires: perl(Mouse) - - -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +# Dependencies +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%description Because Perl methods are just regular subroutines, it's difficult to tell @@ -45,24 +45,31 @@ will still be able to use the imported functions without any problems. %setup -q -n namespace-sweep-%{version}
%build -%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 -%{__make} %{?_smp_mflags} +perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 +%{make_build}
%install -%{__make} pure_install DESTDIR=$RPM_BUILD_ROOT - -%{_fixperms} $RPM_BUILD_ROOT/* +%{make_install} +%{_fixperms} -c %{buildroot}
%check make test
%files -%doc README %license LICENSE -%{perl_vendorlib}/* -%{_mandir}/man3/* +%doc README +%{perl_vendorlib}/namespace/ +%{_mandir}/man3/namespace::sweep.3*
%changelog +* Tue Nov 5 2019 Paul Howarth paul@city-fan.org - 0.006-10 +- Tweak for EPEL-8 build + - Use author-independent source URL + - Classify buildreqs by usage + - Use %%{make_build} and %%{make_install} + - Fix permissions verbosely + - Make %%files list more explicit + * Fri Jul 26 2019 Fedora Release Engineering releng@fedoraproject.org - 0.006-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
https://src.fedoraproject.org/rpms/perl-namespace-sweep/c/5fde355c5c57966ada...
perl-devel@lists.fedoraproject.org