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
Version: 1.204
Release: 9%{?dist}
Version: 1.130
Release: 6%{?dist}
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
Source0: https://cpan.metacpan.org/modules/by-module/Test/Test-Deep-%{version}.tar.gz
BuildArch: noarch
@ -12,9 +12,7 @@ BuildRequires: findutils
BuildRequires: make
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(:VERSION) >= 5.12
BuildRequires: perl(Config)
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.78
BuildRequires: perl(ExtUtils::MakeMaker)
# Module Runtime
BuildRequires: perl(base)
BuildRequires: perl(Carp)
@ -27,15 +25,12 @@ BuildRequires: perl(warnings)
# Test Suite
BuildRequires: perl(if)
BuildRequires: perl(lib)
BuildRequires: perl(Test::More) >= 0.96
BuildRequires: perl(Test::Tester) >= 0.107
BuildRequires: perl(Test::More) >= 0.88
BuildRequires: perl(Test::Tester) >= 0.04
# Runtime
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
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
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
@ -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
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
%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
perl Makefile.PL INSTALLDIRS=vendor
@ -69,89 +50,23 @@ make %{?_smp_mflags}
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -delete
%{_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
make test
%files
%license LICENSE
%doc Changes README TODO
%{perl_vendorlib}/Test/
%{_mandir}/man3/Test::Deep.3*
%{_mandir}/man3/Test::Deep::*.3*
%files tests
%{_libexecdir}/%{name}
%{_mandir}/man3/Test::Deep::NoTest.3*
%changelog
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1.204-9
- Bump release for October 2024 mass rebuild:
Resolves: RHEL-64018
* 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
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.130-6
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 1.130-5
- Perl 5.34 rebuild
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.130-5
- 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
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild

Loading…
Cancel
Save