Compare commits
No commits in common. "c8s-stream-1.24" and "c10s" have entirely different histories.
c8s-stream
...
c10s
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
||||
1
|
||||
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
||||
SOURCES/Test-Deep-1.127.tar.gz
|
||||
/Test-Deep-[0-9.]*.tar.gz
|
||||
|
||||
@ -1 +0,0 @@
|
||||
495497b21747b834e6088c15397a3b9180d5506f SOURCES/Test-Deep-1.127.tar.gz
|
||||
7
gating.yaml
Normal file
7
gating.yaml
Normal file
@ -0,0 +1,7 @@
|
||||
# RHEL
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- rhel-*
|
||||
decision_context: osci_compose_gate
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
||||
@ -1,18 +1,20 @@
|
||||
Name: perl-Test-Deep
|
||||
Version: 1.127
|
||||
Release: 5%{?dist}
|
||||
Version: 1.204
|
||||
Release: 9%{?dist}
|
||||
Summary: Extremely flexible deep comparison
|
||||
License: GPL+ or Artistic
|
||||
URL: http://search.cpan.org/dist/Test-Deep/
|
||||
Source0: http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Test-Deep-%{version}.tar.gz
|
||||
License: GPL-1.0-or-later OR Artistic-1.0-Perl
|
||||
URL: https://metacpan.org/release/Test-Deep
|
||||
Source0: https://cpan.metacpan.org/modules/by-module/Test/Test-Deep-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
# Module Build
|
||||
BuildRequires: coreutils
|
||||
BuildRequires: findutils
|
||||
BuildRequires: make
|
||||
BuildRequires: perl-interpreter
|
||||
BuildRequires: perl-generators
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: perl-interpreter
|
||||
BuildRequires: perl(:VERSION) >= 5.12
|
||||
BuildRequires: perl(Config)
|
||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.78
|
||||
# Module Runtime
|
||||
BuildRequires: perl(base)
|
||||
BuildRequires: perl(Carp)
|
||||
@ -25,12 +27,15 @@ BuildRequires: perl(warnings)
|
||||
# Test Suite
|
||||
BuildRequires: perl(if)
|
||||
BuildRequires: perl(lib)
|
||||
BuildRequires: perl(Test::More) >= 0.88
|
||||
BuildRequires: perl(Test::Tester) >= 0.04
|
||||
BuildRequires: perl(Test::More) >= 0.96
|
||||
BuildRequires: perl(Test::Tester) >= 0.107
|
||||
# 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
|
||||
@ -39,8 +44,22 @@ 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
|
||||
@ -50,19 +69,125 @@ 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::NoTest.3*
|
||||
%{_mandir}/man3/Test::Deep::*.3*
|
||||
|
||||
%files tests
|
||||
%{_libexecdir}/%{name}
|
||||
|
||||
%changelog
|
||||
* Fri Mar 29 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.127-5
|
||||
- Rebuild with enable hardening (bug #1636329)
|
||||
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1.204-9
|
||||
- Bump release for October 2024 mass rebuild:
|
||||
Resolves: RHEL-64018
|
||||
|
||||
* 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
|
||||
- Perl 5.34 rebuild
|
||||
|
||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.130-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.130-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Mon Jun 22 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.130-2
|
||||
- Perl 5.32 rebuild
|
||||
|
||||
* Mon Mar 2 2020 Paul Howarth <paul@city-fan.org> - 1.130-1
|
||||
- Update to 1.128
|
||||
- Allow 'use Test::Deep' while other modules use Test::Deep::NoTest (GH#76)
|
||||
- Added true/false optional imports (GH#41, GH#44)
|
||||
- Documentation fixes (GH#79)
|
||||
- Use author-independent source URL
|
||||
|
||||
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.128-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.128-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.128-5
|
||||
- Perl 5.30 rebuild
|
||||
|
||||
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.128-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.128-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Wed Jun 27 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.128-2
|
||||
- Perl 5.28 rebuild
|
||||
|
||||
* Fri Apr 20 2018 Paul Howarth <paul@city-fan.org> - 1.128-1
|
||||
- Update to 1.128
|
||||
- Numerous small improvements to documentation
|
||||
- Improved CI setup
|
||||
|
||||
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.127-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
5
plans/sanity.fmf
Normal file
5
plans/sanity.fmf
Normal file
@ -0,0 +1,5 @@
|
||||
summary: Sanity tests
|
||||
discover:
|
||||
how: fmf
|
||||
execute:
|
||||
how: tmt
|
||||
1
sources
Normal file
1
sources
Normal file
@ -0,0 +1 @@
|
||||
SHA512 (Test-Deep-1.204.tar.gz) = 1a11b221810b7b23a6d3f71546e264ea3636fa36c73def760f756da69e6937ca3e1c1123505b80241360459d09fc4b9ab614d1c6826593695f6577f60595a8ae
|
||||
12
tests/upstream-tests.fmf
Normal file
12
tests/upstream-tests.fmf
Normal file
@ -0,0 +1,12 @@
|
||||
summary: Upstream tests
|
||||
contact: Michal Josef Spacek <mspacek@redhat.com>
|
||||
component: perl-Test-Deep
|
||||
require: perl-Test-Deep-tests
|
||||
test: /usr/libexec/perl-Test-Deep/test
|
||||
enabled: true
|
||||
tag:
|
||||
- rhel-buildroot
|
||||
adjust:
|
||||
- enabled: false
|
||||
when: distro < rhel-10 or distro < centos-stream-10
|
||||
continue: false
|
||||
Loading…
Reference in New Issue
Block a user