|
|
@ -1,21 +1,32 @@
|
|
|
|
Name: perl-Test-Distribution
|
|
|
|
Name: perl-Test-Distribution
|
|
|
|
Version: 2.00
|
|
|
|
Version: 2.00
|
|
|
|
Release: 31%{?dist}
|
|
|
|
Release: 32%{?dist}
|
|
|
|
Summary: Perform tests on all modules of a distribution
|
|
|
|
Summary: Perform tests on all modules of a distribution
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
URL: https://metacpan.org/release/Test-Distribution
|
|
|
|
URL: https://metacpan.org/release/Test-Distribution
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/S/SR/SRSHAH/Test-Distribution-%{version}.tar.gz
|
|
|
|
Source0: https://cpan.metacpan.org/modules/by-module/Test/Test-Distribution-%{version}.tar.gz
|
|
|
|
Patch0: Test-Distribution-2.00-utf8.patch
|
|
|
|
Patch0: Test-Distribution-2.00-utf8.patch
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
# Build
|
|
|
|
|
|
|
|
BuildRequires: coreutils
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
|
|
|
|
BuildRequires: perl(Module::Build)
|
|
|
|
|
|
|
|
# Module
|
|
|
|
BuildRequires: perl(ExtUtils::Manifest)
|
|
|
|
BuildRequires: perl(ExtUtils::Manifest)
|
|
|
|
BuildRequires: perl(File::Find::Rule) >= 0.03
|
|
|
|
BuildRequires: perl(File::Find::Rule) >= 0.03
|
|
|
|
BuildRequires: perl(Module::Build)
|
|
|
|
|
|
|
|
BuildRequires: perl(Module::CoreList) >= 1.93
|
|
|
|
BuildRequires: perl(Module::CoreList) >= 1.93
|
|
|
|
|
|
|
|
BuildRequires: perl(Module::Signature)
|
|
|
|
BuildRequires: perl(Pod::Coverage) >= 0.17
|
|
|
|
BuildRequires: perl(Pod::Coverage) >= 0.17
|
|
|
|
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
BuildRequires: perl(Test::Pod) >= 0.95
|
|
|
|
BuildRequires: perl(Test::Pod) >= 0.95
|
|
|
|
BuildRequires: perl(Test::Pod::Coverage)
|
|
|
|
BuildRequires: perl(Test::Pod::Coverage)
|
|
|
|
|
|
|
|
BuildRequires: perl(vars)
|
|
|
|
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
|
|
|
|
# Test Suite
|
|
|
|
|
|
|
|
# (no additional dependencies)
|
|
|
|
|
|
|
|
# Dependencies
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
# these are considered "optional"; autoreq doesn't pick them up
|
|
|
|
# these are considered "optional"; autoreq doesn't pick them up
|
|
|
|
Requires: perl(File::Find::Rule) >= 0.03
|
|
|
|
Requires: perl(File::Find::Rule) >= 0.03
|
|
|
@ -37,13 +48,12 @@ that they all define a $VERSION.
|
|
|
|
%patch0
|
|
|
|
%patch0
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
perl Build.PL installdirs=vendor
|
|
|
|
perl Build.PL --installdirs=vendor
|
|
|
|
./Build
|
|
|
|
./Build
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
./Build install --destdir=%{buildroot} --create_packlist=0
|
|
|
|
./Build install destdir=%{buildroot} create_packlist=0
|
|
|
|
%{_fixperms} -c %{buildroot}
|
|
|
|
%{_fixperms} %{buildroot}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
./Build test
|
|
|
|
./Build test
|
|
|
@ -51,9 +61,16 @@ rm -rf %{buildroot}
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%doc Changes.pod README
|
|
|
|
%doc Changes.pod README
|
|
|
|
%{perl_vendorlib}/Test/
|
|
|
|
%{perl_vendorlib}/Test/
|
|
|
|
%{_mandir}/man3/Test::Distribution.3pm*
|
|
|
|
%{_mandir}/man3/Test::Distribution.3*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Wed Oct 16 2019 Paul Howarth <paul@city-fan.org> - 2.00-32
|
|
|
|
|
|
|
|
- Spec tidy-up
|
|
|
|
|
|
|
|
- Use author-independent source URL
|
|
|
|
|
|
|
|
- Classify builds by usage
|
|
|
|
|
|
|
|
- Drop redundant buildroot cleaning in %%install section
|
|
|
|
|
|
|
|
- Fix permissions verbosely
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.00-31
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.00-31
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|