Compare commits

..

No commits in common. 'i10cs' and 'c9' have entirely different histories.
i10cs ... c9

2
.gitignore vendored

@ -1 +1 @@
SOURCES/Test-Deep-1.204.tar.gz SOURCES/Test-Deep-1.130.tar.gz

@ -1 +1 @@
4669d04cb2e07cb3c087d921586b1e7a2d9364ef SOURCES/Test-Deep-1.204.tar.gz a6e88014edc88b9a39cac9420dd329ff3d632f13 SOURCES/Test-Deep-1.130.tar.gz

@ -1,8 +1,8 @@
Name: perl-Test-Deep Name: perl-Test-Deep
Version: 1.204 Version: 1.130
Release: 9%{?dist} Release: 6%{?dist}
Summary: Extremely flexible deep comparison Summary: Extremely flexible deep comparison
License: GPL-1.0-or-later OR Artistic-1.0-Perl License: GPL+ or Artistic
URL: https://metacpan.org/release/Test-Deep URL: https://metacpan.org/release/Test-Deep
Source0: https://cpan.metacpan.org/modules/by-module/Test/Test-Deep-%{version}.tar.gz Source0: https://cpan.metacpan.org/modules/by-module/Test/Test-Deep-%{version}.tar.gz
BuildArch: noarch BuildArch: noarch
@ -12,9 +12,7 @@ BuildRequires: findutils
BuildRequires: make BuildRequires: make
BuildRequires: perl-generators BuildRequires: perl-generators
BuildRequires: perl-interpreter BuildRequires: perl-interpreter
BuildRequires: perl(:VERSION) >= 5.12 BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Config)
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.78
# Module Runtime # Module Runtime
BuildRequires: perl(base) BuildRequires: perl(base)
BuildRequires: perl(Carp) BuildRequires: perl(Carp)
@ -27,15 +25,12 @@ BuildRequires: perl(warnings)
# Test Suite # Test Suite
BuildRequires: perl(if) BuildRequires: perl(if)
BuildRequires: perl(lib) BuildRequires: perl(lib)
BuildRequires: perl(Test::More) >= 0.96 BuildRequires: perl(Test::More) >= 0.88
BuildRequires: perl(Test::Tester) >= 0.107 BuildRequires: perl(Test::Tester) >= 0.04
# Runtime # Runtime
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(Test::Builder) Requires: perl(Test::Builder)
# Remove private test modules
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Std\\)$
%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}^perl\\(Over\\)$
%description %description
Test::Deep gives you very flexible ways to check that the result you Test::Deep gives you very flexible ways to check that the result you
got is the result you were expecting. At its simplest it compares two got is the result you were expecting. At its simplest it compares two
@ -44,22 +39,8 @@ match, that arrays and hashes have the same elements and that
references are blessed into the correct class. It also handles references are blessed into the correct class. It also handles
circular data structures without getting caught in an infinite loop. circular data structures without getting caught in an infinite loop.
%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".
%prep %prep
%setup -q -n Test-Deep-%{version} %setup -q -n Test-Deep-%{version}
# Help generators to recognize Perl scripts
for F in t/*.t; do
perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' "$F"
chmod +x "$F"
done
%build %build
perl Makefile.PL INSTALLDIRS=vendor perl Makefile.PL INSTALLDIRS=vendor
@ -69,89 +50,23 @@ make %{?_smp_mflags}
make pure_install DESTDIR=%{buildroot} make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -delete find %{buildroot} -type f -name .packlist -delete
%{_fixperms} -c %{buildroot} %{_fixperms} -c %{buildroot}
# Install tests
mkdir -p %{buildroot}%{_libexecdir}/%{name}
cp -a t %{buildroot}%{_libexecdir}/%{name}
# Remove author tests.
rm -f %{buildroot}%{_libexecdir}/%{name}/t/00*
# Remove unused test
rm -f %{buildroot}%{_libexecdir}/%{name}/t/regexp.t.orig
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
%check %check
make test make test
%files %files
%license LICENSE
%doc Changes README TODO %doc Changes README TODO
%{perl_vendorlib}/Test/ %{perl_vendorlib}/Test/
%{_mandir}/man3/Test::Deep.3* %{_mandir}/man3/Test::Deep.3*
%{_mandir}/man3/Test::Deep::*.3* %{_mandir}/man3/Test::Deep::NoTest.3*
%files tests
%{_libexecdir}/%{name}
%changelog %changelog
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1.204-9 * Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.130-6
- Bump release for October 2024 mass rebuild: - Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Resolves: RHEL-64018 Related: rhbz#1991688
* Fri Oct 25 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 1.204-8
- Rebuilt for MSVSphere 10
* Sat Jul 13 2024 Michal Josef Špaček <mspacek@redhat.com> - 1.204-8
- Remove not used test file
* Fri Jul 12 2024 Michal Josef Špaček <mspacek@redhat.com> - 1.204-7
- Package tests
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.204-6
- Bump release for June 2024 mass rebuild
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.204-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.204-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.204-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.204-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Sun Jan 8 2023 Paul Howarth <paul@city-fan.org> - 1.204-1
- Update to 1.204 (rhbz#2159015)
- Try to avoid clobbering global error variables when loading test libraries
- hash_each now enumates keys in sort() order, to make errors more consistent
* Thu Jan 5 2023 Paul Howarth <paul@city-fan.org> - 1.202-1
- Update to 1.202 (rhbz#2158345)
- Converted to Dist::Zilla
- Test::Deep will now require v5.12, and this may go up; this change allows
simplification of the Makefile.PL, which was coping with a mistake made
twelve years ago
- Use SPDX-format license tag
- Package LICENSE file
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.130-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Mon May 30 2022 Jitka Plesnikova <jplesnik@redhat.com> - 1.130-8
- Perl 5.36 rebuild
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.130-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.130-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 1.130-5 * Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.130-5
- Perl 5.34 rebuild - Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.130-4 * Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.130-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild

Loading…
Cancel
Save