Upstream update.

- Reflect upstream Source0: having changed.
- Reflect upstream BR-changes.
- Modernize spec.
epel9
Ralf Corsépius 10 years ago
parent cbf313822c
commit 892e7614be

2
.gitignore vendored

@ -1 +1 @@
Test-Script-1.07.tar.gz
/Test-Script-1.09.tar.gz

@ -1,35 +1,32 @@
Name: perl-Test-Script
Version: 1.07
Release: 18%{?dist}
Version: 1.09
Release: 1%{?dist}
Summary: Cross-platform basic tests for scripts
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Test-Script/
Source0: http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/Test-Script-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: http://search.cpan.org/CPAN/authors/id/P/PL/PLICEASE/Test-Script-%{version}.tar.gz
BuildArch: noarch
BuildRequires: perl(Carp)
BuildRequires: perl(Cwd)
BuildRequires: perl(Exporter)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(File::Spec)
BuildRequires: perl(File::Spec) >= 0.80
BuildRequires: perl(File::Spec::Functions)
BuildRequires: perl(File::Spec::Unix)
BuildRequires: perl(File::Path)
BuildRequires: perl(IPC::Run3) >= 0.034
BuildRequires: perl(Probe::Perl)
BuildRequires: perl(Test::Builder)
BuildRequires: perl(Test::Builder::Tester)
BuildRequires: perl(Test::More)
BuildRequires: perl(Probe::Perl) >= 0.01
BuildRequires: perl(Test::Tester)
BuildRequires: perl(Test::Builder) >= 0.32
BuildRequires: perl(Test::Builder::Tester) >= 1.02
BuildRequires: perl(Test::More) >= 0.94
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
# For improved tests
%if !%{defined perl_bootstrap}
BuildRequires: perl(Test::CPAN::Meta) >= 0.12
BuildRequires: perl(Test::Pod) >= 1.26
BuildRequires: perl(Test::MinimumVersion) >= 0.008
BuildRequires: perl(Perl::MinimumVersion) >= 1.20
BuildRequires: perl(Pod::Simple) >= 3.07
%endif
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
@ -45,8 +42,6 @@ in the bin directory of your Perl distribution.
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
@ -56,19 +51,22 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
%check
%if !%{defined perl_bootstrap}
make test AUTOMATED_TESTING=1 RELEASE_TESTING=1
make test
%endif
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc Changes LICENSE README
%doc Changes README
%license LICENSE
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Mon May 11 2015 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.09-1
- Upstream update.
- Reflect upstream Source0: having changed.
- Reflect upstream BR-changes.
- Modernize spec.
* Sun Sep 07 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.07-18
- Perl 5.20 re-rebuild of bootstrapped packages

@ -1 +1 @@
f6b5baa6403cd24dac7f023e0ea22384 Test-Script-1.07.tar.gz
d5cd8d3fa98bc6b728cd4359d9c2f631 Test-Script-1.09.tar.gz

Loading…
Cancel
Save