1.031 bump; Change license to Artistic 2.0
This commit is contained in:
parent
8b0264e6c8
commit
5cb3f819cc
@ -1,23 +1,34 @@
|
||||
%global cpan_version 1.031
|
||||
|
||||
Name: perl-Test-Output
|
||||
Version: 1.03
|
||||
Release: 8%{?dist}
|
||||
# Keep 2-digit precision
|
||||
Version: %(echo '%{cpan_version}' | sed 's/\(\...\)\(.\)/\1.\2/')
|
||||
Release: 1%{?dist}
|
||||
Summary: Utilities to test STDOUT and STDERR messages
|
||||
License: GPL+ or Artistic
|
||||
License: Artistic 2.0
|
||||
Group: Development/Libraries
|
||||
URL: http://search.cpan.org/dist/Test-Output/
|
||||
Source0: http://www.cpan.org/authors/id/B/BD/BDFOY/Test-Output-%{version}.tar.gz
|
||||
Source0: http://www.cpan.org/authors/id/B/BD/BDFOY/Test-Output-%{cpan_version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRequires: make
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-generators
|
||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
||||
BuildRequires: perl(File::Spec)
|
||||
BuildRequires: perl(File::Spec::Functions)
|
||||
BuildRequires: perl(strict)
|
||||
BuildRequires: perl(warnings)
|
||||
# Run-time
|
||||
BuildRequires: perl(Capture::Tiny) >= 0.17
|
||||
BuildRequires: perl(Carp)
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: perl(File::Temp) >= 0.17
|
||||
BuildRequires: perl(Sub::Exporter)
|
||||
BuildRequires: perl(Exporter)
|
||||
BuildRequires: perl(Test::Builder)
|
||||
# Tests
|
||||
BuildRequires: perl(Carp)
|
||||
BuildRequires: perl(Test::More) >= 0.94
|
||||
BuildRequires: perl(Test::Tester) >= 0.107
|
||||
# Optional tests
|
||||
BuildRequires: perl(Test::Pod) >= 1.14
|
||||
BuildRequires: perl(Test::Pod::Coverage) >= 1.04
|
||||
BuildRequires: perl(Test::More)
|
||||
BuildRequires: perl(Test::Tester) >= 0.103
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
|
||||
%description
|
||||
@ -26,26 +37,29 @@ or STDERR. A number of different utilities are included to try and be as
|
||||
flexible as possible to the tester.
|
||||
|
||||
%prep
|
||||
%setup -q -n Test-Output-%{version}
|
||||
%setup -q -n Test-Output-%{cpan_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
|
||||
make test
|
||||
|
||||
%files
|
||||
%doc Changes LICENSE README
|
||||
%license LICENSE
|
||||
%doc Changes README.pod
|
||||
%{perl_vendorlib}/Test/
|
||||
%{_mandir}/man3/Test::Output.3pm*
|
||||
|
||||
%changelog
|
||||
* Thu Mar 30 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.03.1-1
|
||||
- 1.031 bump; Change license to Artistic 2.0
|
||||
|
||||
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.03-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user