Notification time stamped 2019-11-05 16:24:33 UTC
From 4984f453257331382c67dad1f04d1e3715cf5202 Mon Sep 17 00:00:00 2001 From: Paul Howarth paul@city-fan.org Date: Nov 05 2019 16:23:46 +0000 Subject: Merge remote-tracking branch 'origin/f28' into epel8
---
diff --git a/.gitignore b/.gitignore index e69de29..aae7e90 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/namespace-sweep-0.006.tar.gz diff --git a/perl-namespace-sweep.spec b/perl-namespace-sweep.spec new file mode 100644 index 0000000..039a238 --- /dev/null +++ b/perl-namespace-sweep.spec @@ -0,0 +1,76 @@ +Name: perl-namespace-sweep +Version: 0.006 +Release: 4%{?dist} +Summary: Sweep up imported subs in your classes +License: GPL+ or Artistic +URL: http://search.cpan.org/dist/namespace-sweep/ +Source0: http://www.cpan.org/authors/id/F/FR/FRIEDO/namespace-sweep-%%7Bversion%7D.ta... +BuildArch: noarch + +BuildRequires: %{__perl} +BuildRequires: %{__make} + +BuildRequires: perl-generators + +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(warnings) + +# Optional testsuite requirements +BuildRequires: perl(Moo) +BuildRequires: perl(Moose) +BuildRequires: perl(Mouse) + + +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +Because Perl methods are just regular subroutines, it's difficult to tell +what's a method and what's just an imported function. As a result, imported +functions can be called as methods on your objects. This pragma will delete +imported functions from your class's symbol table, thereby ensuring that +your interface is as you specified it. However, code inside your module +will still be able to use the imported functions without any problems. + +%prep +%setup -q -n namespace-sweep-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 +%{__make} %{?_smp_mflags} + +%install +%{__make} pure_install DESTDIR=$RPM_BUILD_ROOT + +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%doc README +%license LICENSE +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Fri Feb 09 2018 Fedora Release Engineering releng@fedoraproject.org - 0.006-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering releng@fedoraproject.org - 0.006-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Tue Jun 06 2017 Jitka Plesnikova jplesnik@redhat.com - 0.006-2 +- Perl 5.26 rebuild + +* Mon Feb 13 2017 Ralf Corsépius corsepiu@fedoraproject.org - 0.006-1 +- Initial Fedora package. diff --git a/sources b/sources index e69de29..8b3c1cb 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +SHA512 (namespace-sweep-0.006.tar.gz) = 25eab21a53c557f9684961c764b3d3ef2c654b36c6ada9361a3b19a263ab640faa0669858de7750f634a476541b3b5b796ebb7413c17c6591d38971a92e29804
https://src.fedoraproject.org/rpms/perl-namespace-sweep/c/4984f453257331382c...