2010-09-21 08:56:24 +00:00
|
|
|
Name: perl-Test-Inter
|
2023-03-09 12:16:28 +00:00
|
|
|
Version: 1.10
|
2024-10-29 16:01:14 +00:00
|
|
|
Release: 6%{?dist}
|
2010-09-21 08:56:24 +00:00
|
|
|
Summary: Framework for more readable interactive test scripts
|
2022-12-07 20:42:27 +00:00
|
|
|
License: GPL-1.0-or-later OR Artistic-1.0-Perl
|
2018-06-04 12:12:36 +00:00
|
|
|
URL: https://metacpan.org/release/Test-Inter
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/S/SB/SBECK/Test-Inter-%{version}.tar.gz
|
2010-09-21 08:56:24 +00:00
|
|
|
BuildArch: noarch
|
2015-08-10 16:36:00 +00:00
|
|
|
BuildRequires: coreutils
|
|
|
|
BuildRequires: make
|
2016-06-24 08:39:31 +00:00
|
|
|
BuildRequires: perl-generators
|
2018-03-16 08:38:46 +00:00
|
|
|
BuildRequires: perl-interpreter
|
2019-03-13 08:32:05 +00:00
|
|
|
BuildRequires: perl(:VERSION) >= 5.6
|
2018-03-16 08:38:46 +00:00
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
2013-03-20 12:46:46 +00:00
|
|
|
BuildRequires: perl(strict)
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
# Run-time:
|
2019-03-15 07:25:58 +00:00
|
|
|
BuildRequires: perl(Cwd)
|
2010-09-21 08:56:24 +00:00
|
|
|
BuildRequires: perl(File::Basename)
|
|
|
|
BuildRequires: perl(IO::File)
|
2019-03-13 08:32:05 +00:00
|
|
|
BuildRequires: perl(lib)
|
2010-09-21 08:56:24 +00:00
|
|
|
# Tests only:
|
2015-08-10 16:36:00 +00:00
|
|
|
BuildRequires: perl(Config)
|
2019-03-15 07:48:36 +00:00
|
|
|
# File::Find::Rule not used
|
2015-08-10 16:36:00 +00:00
|
|
|
BuildRequires: perl(Storable) >= 1.01
|
2015-02-16 12:36:57 +00:00
|
|
|
BuildRequires: perl(Test::More)
|
2019-03-15 07:48:36 +00:00
|
|
|
# Test::Pod 1.00 not used
|
|
|
|
# Test::Pod::Coverage 1.00 not used
|
2019-03-13 08:32:05 +00:00
|
|
|
Requires: perl(lib)
|
2010-09-21 08:56:24 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
This is another framework for writing test scripts. It is loosely inspired
|
|
|
|
by Test::More, and has most of it's functionality, but it is not a drop-in
|
|
|
|
replacement.
|
|
|
|
|
2022-12-07 21:11:49 +00:00
|
|
|
%package tests
|
|
|
|
Summary: Tests for %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
Requires: perl-Test-Harness
|
|
|
|
|
|
|
|
%description tests
|
|
|
|
Tests from %{name}. Execute them
|
|
|
|
with "%{_libexecdir}/%{name}/test".
|
|
|
|
|
2010-09-21 08:56:24 +00:00
|
|
|
%prep
|
|
|
|
%setup -q -n Test-Inter-%{version}
|
|
|
|
chmod -x examples/*
|
2022-12-07 21:11:49 +00:00
|
|
|
# Help generators to recognize Perl scripts
|
|
|
|
for F in t/*.t; do
|
|
|
|
perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!\s*perl}{$Config{startperl}}' "$F"
|
|
|
|
chmod +x "$F"
|
|
|
|
done
|
2010-09-21 08:56:24 +00:00
|
|
|
|
|
|
|
%build
|
2019-03-13 08:32:05 +00:00
|
|
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
|
|
|
|
%{make_build}
|
2010-09-21 08:56:24 +00:00
|
|
|
|
|
|
|
%install
|
2019-03-13 08:32:05 +00:00
|
|
|
%{make_install}
|
2022-12-07 21:11:49 +00:00
|
|
|
# Install tests
|
|
|
|
mkdir -p %{buildroot}%{_libexecdir}/%{name}
|
|
|
|
cp -a t %{buildroot}%{_libexecdir}/%{name}
|
|
|
|
rm -f %{buildroot}%{_libexecdir}/%{name}/t/_*
|
|
|
|
# Directory for libraries used in tests
|
|
|
|
mkdir %{buildroot}%{_libexecdir}/%{name}/lib
|
|
|
|
cat > %{buildroot}%{_libexecdir}/%{name}/test << 'EOF'
|
|
|
|
#!/bin/sh
|
|
|
|
cd %{_libexecdir}/%{name} && exec prove -I . -j "$(getconf _NPROCESSORS_ONLN)"
|
|
|
|
EOF
|
|
|
|
chmod +x %{buildroot}%{_libexecdir}/%{name}/test
|
2022-12-07 20:57:28 +00:00
|
|
|
%{_fixperms} %{buildroot}/*
|
2010-09-21 08:56:24 +00:00
|
|
|
|
|
|
|
%check
|
2019-03-13 08:32:05 +00:00
|
|
|
unset RELEASE_TESTING TI_END TI_MODE TI_NOCLEAN TI_QUIET TI_START TI_TESTNUM \
|
|
|
|
TI_WIDTH
|
2015-02-16 12:36:57 +00:00
|
|
|
make test
|
2010-09-21 08:56:24 +00:00
|
|
|
|
|
|
|
%files
|
2015-02-16 12:36:57 +00:00
|
|
|
%license LICENSE
|
|
|
|
%doc Changes README examples
|
2011-06-24 11:50:07 +00:00
|
|
|
%{perl_vendorlib}/*
|
2010-09-21 08:56:24 +00:00
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
2022-12-07 21:11:49 +00:00
|
|
|
%files tests
|
|
|
|
%{_libexecdir}/%{name}
|
|
|
|
|
2010-09-21 08:56:24 +00:00
|
|
|
%changelog
|
2024-10-29 16:01:14 +00:00
|
|
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1.10-6
|
|
|
|
- Bump release for October 2024 mass rebuild:
|
|
|
|
Resolves: RHEL-64018
|
|
|
|
|
2024-06-24 16:13:19 +00:00
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.10-5
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
2024-01-25 20:50:56 +00:00
|
|
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.10-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
2024-01-21 19:12:36 +00:00
|
|
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.10-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
2023-07-21 02:19:33 +00:00
|
|
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.10-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
2023-03-09 12:16:28 +00:00
|
|
|
* Thu Mar 09 2023 Michal Josef Špaček <mspacek@redhat.com> - 1.10-1
|
|
|
|
- 1.10 bump
|
|
|
|
|
2023-01-20 06:35:55 +00:00
|
|
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.09-14
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
2022-12-07 20:42:27 +00:00
|
|
|
* Wed Dec 07 2022 Michal Josef Špaček <mspacek@redhat.com> - 1.09-13
|
2022-12-07 21:11:49 +00:00
|
|
|
- Package tests
|
2022-12-07 20:42:27 +00:00
|
|
|
- Update license to SPDX format
|
2022-12-07 20:57:28 +00:00
|
|
|
- Use macros instead of variables
|
2022-12-07 20:42:27 +00:00
|
|
|
|
2022-07-22 11:33:55 +00:00
|
|
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.09-12
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
2022-05-30 17:24:43 +00:00
|
|
|
* Mon May 30 2022 Jitka Plesnikova <jplesnik@redhat.com> - 1.09-11
|
|
|
|
- Perl 5.36 rebuild
|
|
|
|
|
2022-01-21 05:43:11 +00:00
|
|
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.09-10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
2021-07-23 00:15:06 +00:00
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.09-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-05-21 10:24:41 +00:00
|
|
|
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 1.09-8
|
|
|
|
- Perl 5.34 rebuild
|
|
|
|
|
2021-01-27 05:01:16 +00:00
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.09-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-07-28 19:15:49 +00:00
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.09-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-06-22 15:51:15 +00:00
|
|
|
* Mon Jun 22 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.09-5
|
|
|
|
- Perl 5.32 rebuild
|
|
|
|
|
2020-01-30 05:02:26 +00:00
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.09-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2019-07-26 07:07:51 +00:00
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.09-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-05-30 11:40:36 +00:00
|
|
|
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.09-2
|
|
|
|
- Perl 5.30 rebuild
|
|
|
|
|
2019-03-15 07:25:58 +00:00
|
|
|
* Fri Mar 15 2019 Petr Pisar <ppisar@redhat.com> - 1.09-1
|
|
|
|
- 1.09 bump
|
|
|
|
|
2019-03-13 08:32:05 +00:00
|
|
|
* Wed Mar 13 2019 Petr Pisar <ppisar@redhat.com> - 1.08-1
|
|
|
|
- 1.08 bump
|
|
|
|
|
2019-02-02 00:39:51 +00:00
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.07-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-07-13 20:09:36 +00:00
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.07-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-06-27 18:31:33 +00:00
|
|
|
* Wed Jun 27 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.07-2
|
|
|
|
- Perl 5.28 rebuild
|
|
|
|
|
2018-03-16 08:38:46 +00:00
|
|
|
* Fri Mar 16 2018 Petr Pisar <ppisar@redhat.com> - 1.07-1
|
|
|
|
- 1.07 bump
|
|
|
|
|
2018-02-09 01:20:39 +00:00
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.06-10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-07-27 06:27:53 +00:00
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.06-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-06-04 05:16:56 +00:00
|
|
|
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.06-8
|
|
|
|
- Perl 5.26 rebuild
|
|
|
|
|
2017-02-11 05:30:05 +00:00
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.06-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-05-15 02:17:08 +00:00
|
|
|
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.06-6
|
|
|
|
- Perl 5.24 rebuild
|
|
|
|
|
2016-02-04 16:03:57 +00:00
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.06-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-08-10 16:36:00 +00:00
|
|
|
* Mon Aug 10 2015 Petr Šabata <contyk@redhat.com> - 1.06-4
|
|
|
|
- Prevent the FTBFS by correcting the build time dependency list
|
|
|
|
|
2015-06-18 06:24:53 +00:00
|
|
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.06-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-06-03 16:52:03 +00:00
|
|
|
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.06-2
|
|
|
|
- Perl 5.22 rebuild
|
|
|
|
|
2015-02-16 12:36:57 +00:00
|
|
|
* Mon Feb 16 2015 Petr Pisar <ppisar@redhat.com> - 1.06-1
|
|
|
|
- 1.06 bump
|
|
|
|
|
2014-08-27 22:51:59 +00:00
|
|
|
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.05-5
|
|
|
|
- Perl 5.20 rebuild
|
|
|
|
|
2014-06-07 10:53:44 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.05-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2013-08-04 01:17:14 +00:00
|
|
|
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.05-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-07-19 02:59:03 +00:00
|
|
|
* Fri Jul 19 2013 Petr Pisar <ppisar@redhat.com> - 1.05-2
|
|
|
|
- Perl 5.18 rebuild
|
|
|
|
|
2013-03-21 11:45:08 +00:00
|
|
|
* Thu Mar 21 2013 Petr Pisar <ppisar@redhat.com> - 1.05-1
|
|
|
|
- 1.05 bump
|
|
|
|
|
2013-03-20 12:46:46 +00:00
|
|
|
* Wed Mar 20 2013 Petr Pisar <ppisar@redhat.com> - 1.04-1
|
|
|
|
- 1.04 bump
|
|
|
|
|
2013-02-14 15:32:11 +00:00
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.03-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-07-20 21:26:01 +00:00
|
|
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.03-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-06-12 15:03:24 +00:00
|
|
|
* Tue Jun 12 2012 Petr Pisar <ppisar@redhat.com> - 1.03-4
|
|
|
|
- Perl 5.16 rebuild
|
|
|
|
|
2012-01-13 19:53:21 +00:00
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.03-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-07-18 11:20:35 +00:00
|
|
|
* Mon Jul 18 2011 Petr Sabata <contyk@redhat.com> - 1.03-2
|
|
|
|
- Perl mass rebuild
|
|
|
|
|
2011-07-07 07:03:45 +00:00
|
|
|
* Thu Jul 07 2011 Petr Pisar <ppisar@redhat.com> - 1.03-1
|
|
|
|
- 1.03 bump
|
|
|
|
|
2011-06-24 11:37:48 +00:00
|
|
|
* Fri Jun 24 2011 Petr Pisar <ppisar@redhat.com> - 1.02-1
|
|
|
|
- 1.02 bump
|
2011-06-24 11:50:07 +00:00
|
|
|
- Move to vendor path
|
2011-06-24 11:51:08 +00:00
|
|
|
- Remove BuildRoot and defattr
|
2011-06-24 11:37:48 +00:00
|
|
|
|
2011-06-20 13:50:11 +00:00
|
|
|
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.01-4
|
|
|
|
- Perl mass rebuild
|
|
|
|
|
2011-02-09 08:01:07 +00:00
|
|
|
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.01-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2010-12-22 18:13:41 +00:00
|
|
|
* Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.01-2
|
|
|
|
- 661697 rebuild for fixing problems with vendorach/lib
|
|
|
|
|
2010-09-21 08:56:24 +00:00
|
|
|
* Tue Sep 14 2010 Petr Pisar <ppisar@redhat.com> 1.01-1
|
|
|
|
- Specfile autogenerated by cpanspec 1.78.
|
|
|
|
- Add BuildRequires covered by perl package
|
|
|
|
- Distribute examples
|
|
|
|
- Install into perl core (i.e. do not use vendor paths)
|