|
|
|
@ -1,18 +1,15 @@
|
|
|
|
|
Name: perl-Class-Unload
|
|
|
|
|
Version: 0.09
|
|
|
|
|
Release: 5%{?dist}
|
|
|
|
|
Version: 0.11
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Unload given class
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
URL: http://search.cpan.org/dist/Class-Unload/
|
|
|
|
|
Source0: http://www.cpan.org/authors/id/I/IL/ILMARI/Class-Unload-%{version}.tar.gz
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
BuildRequires: coreutils
|
|
|
|
|
BuildRequires: findutils
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: perl
|
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
|
# Run-time:
|
|
|
|
@ -20,7 +17,14 @@ BuildRequires: perl(Class::Inspector)
|
|
|
|
|
# Tests:
|
|
|
|
|
BuildRequires: perl(base)
|
|
|
|
|
BuildRequires: perl(lib)
|
|
|
|
|
# Test::EOL not sued
|
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
|
# Test::NoTabs not used
|
|
|
|
|
# Test::Pod 1.41 not used
|
|
|
|
|
# Test::Pod::Coverage 1.08 not used
|
|
|
|
|
BuildRequires: perl(Test::Requires)
|
|
|
|
|
# Optional tests:
|
|
|
|
|
BuildRequires: perl(Moose)
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
@ -31,12 +35,11 @@ from %%INC.
|
|
|
|
|
%setup -q -n Class-Unload-%{version}
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
|
|
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
@ -49,6 +52,9 @@ make test
|
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Jun 23 2017 Petr Pisar <ppisar@redhat.com> - 0.11-1
|
|
|
|
|
- 0.11 bump
|
|
|
|
|
|
|
|
|
|
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.09-5
|
|
|
|
|
- Perl 5.26 rebuild
|
|
|
|
|
|
|
|
|
|