Update to 0.19

- New upstream release 0.19
  - Removed dependencies on namespace::clean, Sub::Exporter, File::Find::Rule
- Simplify find command using -delete
- Downgrade Role::Tiny dependency to Recommends: on Fedora
- BR: perl-generators where available
epel9
Paul Howarth 9 years ago
parent 90bac2e76d
commit 16c1295ab1

@ -1,41 +1,49 @@
Name: perl-Test-CleanNamespaces Name: perl-Test-CleanNamespaces
Summary: Check for uncleaned imports Summary: Check for uncleaned imports
Version: 0.18 Version: 0.19
Release: 7%{?dist} Release: 1%{?dist}
License: GPL+ or Artistic License: GPL+ or Artistic
URL: https://metacpan.org/release/Test-CleanNamespaces URL: https://metacpan.org/release/Test-CleanNamespaces
Source0: http://cpan.metacpan.org/authors/id/E/ET/ETHER/Test-CleanNamespaces-%{version}.tar.gz Source0: http://cpan.metacpan.org/authors/id/E/ET/ETHER/Test-CleanNamespaces-%{version}.tar.gz
BuildArch: noarch BuildArch: noarch
# Module Build # Module Build
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: make
BuildRequires: perl BuildRequires: perl
%if 0%{?fedora} > 20 || 0%{?rhel} > 7
BuildRequires: perl-generators
%endif
BuildRequires: perl(CPAN::Meta::Requirements) >= 2.120620
BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Module::Metadata)
# Module # Module
BuildRequires: perl(File::Find::Rule) BuildRequires: perl(File::Find)
BuildRequires: perl(File::Find::Rule::Perl) BuildRequires: perl(File::Spec)
BuildRequires: perl(File::Spec::Functions)
BuildRequires: perl(Module::Runtime) BuildRequires: perl(Module::Runtime)
BuildRequires: perl(namespace::clean)
BuildRequires: perl(Package::Stash) >= 0.14 BuildRequires: perl(Package::Stash) >= 0.14
BuildRequires: perl(Package::Stash::XS) BuildRequires: perl(Package::Stash::XS)
BuildRequires: perl(strict) BuildRequires: perl(strict)
BuildRequires: perl(Sub::Exporter) BuildRequires: perl(Sub::Exporter::Progressive)
BuildRequires: perl(Sub::Identify) BuildRequires: perl(Sub::Identify)
BuildRequires: perl(Test::Builder) BuildRequires: perl(Test::Builder)
BuildRequires: perl(warnings) BuildRequires: perl(warnings)
# Optional Runtime
BuildRequires: perl(Role::Tiny) >= 1.003000
# Test Suite # Test Suite
BuildRequires: perl(constant) BuildRequires: perl(constant)
BuildRequires: perl(CPAN::Meta) >= 2.120900 BuildRequires: perl(CPAN::Meta) >= 2.120900
BuildRequires: perl(CPAN::Meta::Prereqs) BuildRequires: perl(CPAN::Meta::Prereqs)
BuildRequires: perl(Exporter) BuildRequires: perl(Exporter) >= 5.57
BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(File::Spec::Functions)
BuildRequires: perl(File::Spec)
BuildRequires: perl(if) BuildRequires: perl(if)
BuildRequires: perl(lib) BuildRequires: perl(lib)
BuildRequires: perl(Module::Runtime) BuildRequires: perl(Module::Runtime)
BuildRequires: perl(namespace::clean)
BuildRequires: perl(overload) BuildRequires: perl(overload)
BuildRequires: perl(parent) BuildRequires: perl(parent)
BuildRequires: perl(Role::Tiny) >= 1.003000
BuildRequires: perl(Scalar::Util) BuildRequires: perl(Scalar::Util)
BuildRequires: perl(Sub::Exporter)
BuildRequires: perl(Test::Deep) BuildRequires: perl(Test::Deep)
BuildRequires: perl(Test::More) >= 0.94 BuildRequires: perl(Test::More) >= 0.94
BuildRequires: perl(Test::Requires) BuildRequires: perl(Test::Requires)
@ -58,7 +66,11 @@ BuildRequires: perl(Mouse::Role)
BuildRequires: perl(Test::Warnings) >= 0.009 BuildRequires: perl(Test::Warnings) >= 0.009
# Runtime # Runtime
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%if 0%{?fedora}
Recommends: perl(Role::Tiny) >= 1.003000
%else
Requires: perl(Role::Tiny) >= 1.003000 Requires: perl(Role::Tiny) >= 1.003000
%endif
%description %description
This module lets you check your module's namespaces for imported functions you This module lets you check your module's namespaces for imported functions you
@ -75,19 +87,26 @@ make %{?_smp_mflags}
%install %install
make pure_install DESTDIR=%{buildroot} make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';' find %{buildroot} -type f -name .packlist -delete
%{_fixperms} %{buildroot} %{_fixperms} %{buildroot}
%check %check
make test %{!?perl_bootstrap:AUTOMATED_TESTING=1} make test %{!?perl_bootstrap:AUTOMATED_TESTING=1}
%files %files
%license LICENSE %license LICENCE
%doc Changes CONTRIBUTING README %doc Changes CONTRIBUTING README
%{perl_vendorlib}/Test/ %{perl_vendorlib}/Test/
%{_mandir}/man3/Test::CleanNamespaces.3* %{_mandir}/man3/Test::CleanNamespaces.3*
%changelog %changelog
* Fri Jun 17 2016 Paul Howarth <paul@city-fan.org> - 0.19-1
- Update to 0.19
- Removed dependencies on namespace::clean, Sub::Exporter, File::Find::Rule
- Simplify find command using -delete
- Downgrade Role::Tiny dependency to Recommends: on Fedora
- BR: perl-generators where available
* Wed May 18 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.18-7 * Wed May 18 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.18-7
- Perl 5.24 re-rebuild of bootstrapped packages - Perl 5.24 re-rebuild of bootstrapped packages

@ -1 +1 @@
1d410cd60d6620a9d0b07bb4c23e8a44 Test-CleanNamespaces-0.18.tar.gz 6f8a8cc3e5c350cfcf2e768da0d364bb Test-CleanNamespaces-0.19.tar.gz

Loading…
Cancel
Save