Compare commits
No commits in common. "c8-stream-5.3" and "c10s" have entirely different histories.
c8-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/Compress-Raw-Zlib-2.093.tar.gz
|
||||
/Compress-Raw-Zlib-[0-9.]*.tar.gz
|
||||
|
@ -1 +0,0 @@
|
||||
0d7249d47eb64c65dd64007a39bce30bf4bb256d SOURCES/Compress-Raw-Zlib-2.093.tar.gz
|
15
gating.yaml
Normal file
15
gating.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- fedora-*
|
||||
decision_context: bodhi_update_push_stable
|
||||
subject_type: koji_build
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional}
|
||||
|
||||
# RHEL
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- rhel-*
|
||||
decision_context: osci_compose_gate
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
@ -5,15 +5,16 @@
|
||||
%bcond_with perl_Compress_Raw_Zlib_enables_optional_test
|
||||
%endif
|
||||
|
||||
|
||||
Name: perl-Compress-Raw-Zlib
|
||||
Version: 2.093
|
||||
Release: 1%{?dist}
|
||||
Version: 2.212
|
||||
Release: 512%{?dist}
|
||||
Summary: Low-level interface to the zlib compression library
|
||||
# Zlib.xs: (GPL+ or Artistic) and zlib
|
||||
# Others: GPL+ or Artistic
|
||||
# Zlib.xs: (GPL-1.0-or-later OR Artistic-1.0-Perl) AND Zlib
|
||||
# Others: GPL-1.0-or-later OR Artistic-1.0-Perl
|
||||
## Not used to produce binary packages
|
||||
# zlib-src: zlib
|
||||
License: (GPL+ or Artistic) and zlib
|
||||
# zlib-src: Zlib
|
||||
License: (GPL-1.0-or-later OR Artistic-1.0-Perl) AND Zlib
|
||||
URL: https://metacpan.org/release/Compress-Raw-Zlib
|
||||
Source0: https://cpan.metacpan.org/modules/by-module/Compress/Compress-Raw-Zlib-%{version}.tar.gz
|
||||
# Module Build
|
||||
@ -32,8 +33,7 @@ BuildRequires: perl(File::Copy)
|
||||
BuildRequires: perl(File::Spec::Functions)
|
||||
BuildRequires: perl(lib)
|
||||
BuildRequires: perl(vars)
|
||||
BuildRequires: sed
|
||||
BuildRequires: zlib-devel >= 1.2.1
|
||||
BuildRequires: zlib-devel >= 1.3
|
||||
# Module Runtime
|
||||
BuildRequires: perl(bytes)
|
||||
BuildRequires: perl(Carp)
|
||||
@ -44,7 +44,12 @@ BuildRequires: perl(warnings)
|
||||
BuildRequires: perl(XSLoader)
|
||||
# Test Suite
|
||||
BuildRequires: perl(File::Path)
|
||||
BuildRequires: perl(List::Util)
|
||||
BuildRequires: perl(threads::shared)
|
||||
# Dual-lived module needs rebuilding early in the boot process
|
||||
%if !%{defined perl_bootstrap}
|
||||
BuildRequires: perl(Test::More)
|
||||
%endif
|
||||
%if %{with perl_Compress_Raw_Zlib_enables_optional_test}
|
||||
# Optional Tests
|
||||
BuildRequires: perl(File::Temp)
|
||||
@ -52,29 +57,66 @@ BuildRequires: perl(lib)
|
||||
BuildRequires: perl(overload)
|
||||
# Dual-lived module needs rebuilding early in the boot process
|
||||
%if !%{defined perl_bootstrap}
|
||||
BuildRequires: perl(Test::CPAN::Meta)
|
||||
BuildRequires: perl(Test::CPAN::Meta::JSON)
|
||||
BuildRequires: perl(Test::More)
|
||||
# Release tests are deleted
|
||||
BuildRequires: perl(Test::NoWarnings)
|
||||
BuildRequires: perl(Test::Pod) >= 1.00
|
||||
%endif
|
||||
%endif
|
||||
# Runtime
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
Requires: perl(XSLoader)
|
||||
|
||||
# Don't "provide" private Perl libs
|
||||
%{?perl_default_filter}
|
||||
|
||||
# Filter modules bundled for tests
|
||||
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(CompTestUtils\\)
|
||||
%if %{defined perl_bootstrap}
|
||||
%global __requires_exclude %{__requires_exclude}|^perl\\(Test::Builder)\s*$
|
||||
%global __requires_exclude %{__requires_exclude}|^perl\\(Test::More)\s*$
|
||||
%global __requires_exclude %{__requires_exclude}|^perl\\(Test::Simple)\s*$
|
||||
%endif
|
||||
%global __provides_exclude_from %{?__provides_exclude_from:%__provides_exclude_from|}^%{_libexecdir}
|
||||
|
||||
|
||||
%description
|
||||
The Compress::Raw::Zlib module provides a Perl interface to the zlib
|
||||
compression library, which is used by IO::Compress::Zlib.
|
||||
|
||||
%package tests
|
||||
Summary: Tests for %{name}
|
||||
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
|
||||
Requires: perl-Test-Harness
|
||||
%if %{with perl_Compress_Raw_Zlib_enables_optional_test}
|
||||
# Optional Tests
|
||||
Requires: perl(File::Temp)
|
||||
Requires: perl(overload)
|
||||
# Dual-lived module needs rebuilding early in the boot process
|
||||
%if !%{defined perl_bootstrap}
|
||||
Requires: perl(Test::NoWarnings)
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%description tests
|
||||
Tests from %{name}-%{version}. Execute them
|
||||
with "%{_libexecdir}/%{name}/test".
|
||||
|
||||
%prep
|
||||
%setup -q -n Compress-Raw-Zlib-%{version}
|
||||
|
||||
# Remove bundled zlib
|
||||
rm -rf zlib-src
|
||||
sed -i -e '/^zlib-src\//d' MANIFEST
|
||||
perl -i -ne 'print $_ unless m{^zlib-src/}' MANIFEST
|
||||
|
||||
%if ! %{defined perl_bootstrap}
|
||||
# Remove bundled Test::* modules
|
||||
rm -rf t/Test
|
||||
perl -i -ne 'print $_ unless m{^t/Test/}' MANIFEST
|
||||
%endif
|
||||
|
||||
# Help file to recognise the Perl scripts
|
||||
for F in t/*.t; do
|
||||
perl -i -MConfig -ple 'print $Config{startperl} if $. == 1' "$F"
|
||||
chmod +x "$F"
|
||||
done
|
||||
|
||||
%build
|
||||
OLD_ZLIB=False
|
||||
@ -90,7 +132,23 @@ perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1 NO_PERL
|
||||
find %{buildroot} -type f -name '*.bs' -empty -delete
|
||||
%{_fixperms} -c %{buildroot}
|
||||
|
||||
# Install tests
|
||||
mkdir -p %{buildroot}%{_libexecdir}/%{name}
|
||||
cp -a t %{buildroot}%{_libexecdir}/%{name}
|
||||
# Remove release tests
|
||||
rm %{buildroot}%{_libexecdir}/%{name}/t/99pod.t
|
||||
rm %{buildroot}%{_libexecdir}/%{name}/t/meta-*.t
|
||||
perl -i -pe "s{DIR => '.'}{DIR => '/tmp'}" %{buildroot}%{_libexecdir}/%{name}/t/compress/CompTestUtils.pm
|
||||
cat > %{buildroot}%{_libexecdir}/%{name}/test << 'EOF'
|
||||
#!/bin/sh
|
||||
unset PERL_CORE
|
||||
cd %{_libexecdir}/%{name} && exec prove -I . -j "$(getconf _NPROCESSORS_ONLN)"
|
||||
EOF
|
||||
chmod +x %{buildroot}%{_libexecdir}/%{name}/test
|
||||
|
||||
%check
|
||||
unset PERL_CORE
|
||||
export HARNESS_OPTIONS=j$(perl -e 'if ($ARGV[0] =~ /.*-j([0-9][0-9]*).*/) {print $1} else {print 1}' -- '%{?_smp_mflags}')
|
||||
make test COMPRESS_ZLIB_RUN_MOST=1
|
||||
|
||||
%files
|
||||
@ -99,7 +157,140 @@ make test COMPRESS_ZLIB_RUN_MOST=1
|
||||
%{perl_vendorarch}/Compress/
|
||||
%{_mandir}/man3/Compress::Raw::Zlib.3*
|
||||
|
||||
%files tests
|
||||
%{_libexecdir}/%{name}
|
||||
|
||||
%changelog
|
||||
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 2.212-512
|
||||
- Bump release for October 2024 mass rebuild:
|
||||
Resolves: RHEL-64018
|
||||
|
||||
* Fri Aug 09 2024 Jitka Plesnikova <jplesnik@redhat.com> - 2.212-511
|
||||
- Perl 5.40 re-rebuild of bootstrapped packages
|
||||
|
||||
* Thu Jul 18 2024 Jitka Plesnikova <jplesnik@redhat.com> - 2.212-510
|
||||
- Increase release to favour standalone package
|
||||
|
||||
* Tue Jul 16 2024 Jitka Plesnikova <jplesnik@redhat.com> - 2.212-1
|
||||
- 2.212 bump
|
||||
|
||||
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 2.206-5
|
||||
- Bump release for June 2024 mass rebuild
|
||||
|
||||
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.206-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.206-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Mon Jan 15 2024 Paul Howarth <paul@city-fan.org> - 2.206-2
|
||||
- Rebuild for zlib-ng in Rawhide
|
||||
|
||||
* Wed Jul 26 2023 Jitka Plesnikova <jplesnik@redhat.com> - 2.206-1
|
||||
- 2.206 bump (rhbz#2225674)
|
||||
|
||||
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.205-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Sun Jul 16 2023 Jitka Plesnikova <jplesnik@redhat.com> - 2.205-1
|
||||
- 2.205 bump (rhbz#2223211)
|
||||
|
||||
* Wed Jul 12 2023 Jitka Plesnikova <jplesnik@redhat.com> - 2.204-500
|
||||
- Perl 5.38 re-rebuild of bootstrapped packages
|
||||
|
||||
* Tue Jul 11 2023 Jitka Plesnikova <jplesnik@redhat.com> - 2.204-499
|
||||
- Increase release to favour standalone package
|
||||
|
||||
* Thu Feb 09 2023 Jitka Plesnikova <jplesnik@redhat.com> - 2.204-2
|
||||
- Update for disttag
|
||||
|
||||
* Thu Feb 09 2023 Jitka Plesnikova <jplesnik@redhat.com> - 2.204-1
|
||||
- 2.204 bump
|
||||
|
||||
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.202-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Wed Dec 21 2022 Paul Howarth <paul@city-fan.org> - 2.202-4
|
||||
- Rebuild for zlib 1.2.13
|
||||
|
||||
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.202-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Thu Jul 14 2022 Paul Howarth <paul@city-fan.org> - 2.202-2
|
||||
- Rebuilt for zlib 1.2.12
|
||||
|
||||
* Mon Jun 27 2022 Jitka Plesnikova <jplesnik@redhat.com> - 2.202-1
|
||||
- 2.202 bump
|
||||
|
||||
* Sat Jun 25 2022 Paul Howarth <paul@city-fan.org> - 2.201-1
|
||||
- 2.201 bump
|
||||
|
||||
* Wed Jun 22 2022 Jitka Plesnikova <jplesnik@redhat.com> - 2.200-1
|
||||
- 2.200 bump
|
||||
|
||||
* Fri Jun 03 2022 Jitka Plesnikova <jplesnik@redhat.com> - 2.105-489
|
||||
- Perl 5.36 re-rebuild of bootstrapped packages
|
||||
|
||||
* Mon May 30 2022 Jitka Plesnikova <jplesnik@redhat.com> - 2.105-488
|
||||
- Increase release to favour standalone package
|
||||
|
||||
* Sat May 14 2022 Paul Howarth <paul@city-fan.org> - 2.105-1
|
||||
- 2.105 bump
|
||||
|
||||
* Fri May 13 2022 Paul Howarth <paul@city-fan.org> - 2.104-1
|
||||
- 2.104 bump
|
||||
|
||||
* Mon Apr 04 2022 Jitka Plesnikova <jplesnik@redhat.com> - 2.103-1
|
||||
- 2.103 bump
|
||||
|
||||
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.101-480
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.101-479
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Mon May 24 2021 Jitka Plesnikova <jplesnik@redhat.com> - 2.101-478
|
||||
- Perl 5.34 re-rebuild of bootstrapped packages
|
||||
|
||||
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 2.101-477
|
||||
- Increase release to favour standalone package
|
||||
|
||||
* Mon Feb 22 2021 Jitka Plesnikova <jplesnik@redhat.com> - 2.101-3
|
||||
- Fix dependencies for ELN
|
||||
|
||||
* Mon Feb 22 2021 Jitka Plesnikova <jplesnik@redhat.com> - 2.101-2
|
||||
- Package tests
|
||||
|
||||
* Sat Feb 20 2021 Paul Howarth <paul@city-fan.org> - 2.101-1
|
||||
- 2.101 bump
|
||||
|
||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.100-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Thu Jan 07 2021 Jitka Plesnikova <jplesnik@redhat.com> - 2.100-1
|
||||
- 2.100 bump
|
||||
|
||||
* Sat Aug 1 2020 Paul Howarth <paul@city-fan.org> - 2.096-1
|
||||
- 2.096 bump
|
||||
|
||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.095-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Tue Jul 21 2020 Petr Pisar <ppisar@redhat.com> - 2.095-1
|
||||
- 2.095 bump
|
||||
|
||||
* Mon Jul 13 2020 Jitka Plesnikova <jplesnik@redhat.com> - 2.094-1
|
||||
- 2.094 bump
|
||||
|
||||
* Fri Jun 26 2020 Jitka Plesnikova <jplesnik@redhat.com> - 2.093-457
|
||||
- Perl 5.32 re-rebuild of bootstrapped packages
|
||||
|
||||
* Mon Jun 22 2020 Jitka Plesnikova <jplesnik@redhat.com> - 2.093-456
|
||||
- Increase release to favour standalone package
|
||||
|
||||
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.093-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Sun Dec 8 2019 Paul Howarth <paul@city-fan.org> - 2.093-1
|
||||
- 2.093 bump
|
||||
|
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 (Compress-Raw-Zlib-2.212.tar.gz) = 75f3c7eafed7c4a3df4e8609e2e291e390663ccbd3166b860dfeb1025f5007b7a8f568face9dff2bbb4b3eab4234cbb0806f90a0c132c7d738f520d98d033a67
|
11
tests/upstream-tests.fmf
Normal file
11
tests/upstream-tests.fmf
Normal file
@ -0,0 +1,11 @@
|
||||
summary: Upstream tests
|
||||
component: perl-Compress-Raw-Zlib
|
||||
require: perl-Compress-Raw-Zlib-tests
|
||||
test: /usr/libexec/perl-Compress-Raw-Zlib/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