|
|
@ -1,23 +1,34 @@
|
|
|
|
|
|
|
|
%global cpan_version 1.033
|
|
|
|
|
|
|
|
|
|
|
|
Name: perl-Test-Output
|
|
|
|
Name: perl-Test-Output
|
|
|
|
Version: 1.03
|
|
|
|
# Keep 2-digit precision
|
|
|
|
Release: 8%{?dist}
|
|
|
|
Version: %(echo '%{cpan_version}' | sed 's/\(\...\)\(.\)/\1.\2/')
|
|
|
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
Summary: Utilities to test STDOUT and STDERR messages
|
|
|
|
Summary: Utilities to test STDOUT and STDERR messages
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
License: Artistic 2.0
|
|
|
|
Group: Development/Libraries
|
|
|
|
URL: https://metacpan.org/release/Test-Output
|
|
|
|
URL: http://search.cpan.org/dist/Test-Output/
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/B/BD/BDFOY/Test-Output-%{cpan_version}.tar.gz
|
|
|
|
Source0: http://www.cpan.org/authors/id/B/BD/BDFOY/Test-Output-%{version}.tar.gz
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
BuildRequires: coreutils
|
|
|
|
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
|
|
|
|
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(Capture::Tiny) >= 0.17
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
BuildRequires: perl(Exporter)
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
|
|
|
|
BuildRequires: perl(File::Temp) >= 0.17
|
|
|
|
|
|
|
|
BuildRequires: perl(Sub::Exporter)
|
|
|
|
|
|
|
|
BuildRequires: perl(Test::Builder)
|
|
|
|
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) >= 1.14
|
|
|
|
BuildRequires: perl(Test::Pod::Coverage) >= 1.04
|
|
|
|
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))
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
@ -26,28 +37,76 @@ or STDERR. A number of different utilities are included to try and be as
|
|
|
|
flexible as possible to the tester.
|
|
|
|
flexible as possible to the tester.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -n Test-Output-%{version}
|
|
|
|
%setup -q -n Test-Output-%{cpan_version}
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
%{make_build}
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
%{make_install}
|
|
|
|
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
|
|
|
|
|
|
|
%{_fixperms} $RPM_BUILD_ROOT
|
|
|
|
%{_fixperms} $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
make test
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%doc Changes LICENSE README
|
|
|
|
%license LICENSE
|
|
|
|
|
|
|
|
%doc Changes README.pod
|
|
|
|
%{perl_vendorlib}/Test/
|
|
|
|
%{perl_vendorlib}/Test/
|
|
|
|
%{_mandir}/man3/Test::Output.3pm*
|
|
|
|
%{_mandir}/man3/Test::Output.3pm*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Thu Apr 18 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 1.03-8
|
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.03.3-3
|
|
|
|
- Rebuilt for MSVSphere 8.9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 1.03.3-2
|
|
|
|
|
|
|
|
- Perl 5.34 rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Feb 11 2021 Jitka Plesnikova <jplesnik@redhat.com> - 1.03.3-1
|
|
|
|
|
|
|
|
- 1.033 bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jan 29 2021 Jitka Plesnikova <jplesnik@redhat.com> - 1.03.2-1
|
|
|
|
|
|
|
|
- 1.032 bump
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.03.1-13
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.03.1-12
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.03.1-11
|
|
|
|
|
|
|
|
- Perl 5.32 rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.03.1-10
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.03.1-9
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.03.1-8
|
|
|
|
|
|
|
|
- Perl 5.30 rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.03.1-7
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.03.1-6
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.03.1-5
|
|
|
|
|
|
|
|
- Perl 5.28 rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.03.1-4
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.03.1-3
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.03.1-2
|
|
|
|
|
|
|
|
- Perl 5.26 rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* 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
|
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.03-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|