Compare commits
No commits in common. "c8s-stream-5.32" 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/IO-Compress-Lzma-2.096.tar.gz
|
||||
/IO-Compress-Lzma-[0-9.]*.tar.gz
|
||||
|
||||
@ -1 +0,0 @@
|
||||
ce5d84795e3dea63a227b2493c79ba4c9d279e06 SOURCES/IO-Compress-Lzma-2.096.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,11 +1,15 @@
|
||||
# Perform optional tests
|
||||
%if 0%{?rhel} >= 9
|
||||
%bcond_with perl_IO_Compress_Lzma_enables_optional_test
|
||||
%else
|
||||
%bcond_without perl_IO_Compress_Lzma_enables_optional_test
|
||||
%endif
|
||||
|
||||
Name: perl-IO-Compress-Lzma
|
||||
Version: 2.096
|
||||
Release: 1%{?dist}
|
||||
Version: 2.206
|
||||
Release: 8%{?dist}
|
||||
Summary: Read and write lzma compressed data
|
||||
License: GPL+ or Artistic
|
||||
License: GPL-1.0-or-later OR Artistic-1.0-Perl
|
||||
URL: https://metacpan.org/release/IO-Compress-Lzma
|
||||
Source0: https://cpan.metacpan.org/modules/by-module/IO/IO-Compress-Lzma-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
@ -55,13 +59,26 @@ BuildRequires: perl(Test::NoWarnings)
|
||||
BuildRequires: perl(Test::Pod) >= 1.00
|
||||
BuildRequires: /usr/bin/7z
|
||||
%endif
|
||||
# Runtime
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
# Dependencies
|
||||
# (none)
|
||||
|
||||
# Remove private test modules
|
||||
%global __provides_exclude_from %{?__provides_exclude_from:%__provides_exclude_from|}^%{_libexecdir}
|
||||
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((CompTestUtils|any\.pl|destroy\.pl|encode\.pl|generic\.pl|multi\.pl|newtied\.pl|oneshot\.pl|prime\.pl|tied\.pl|truncate\.pl)\\)$
|
||||
|
||||
%description
|
||||
This distribution provides a Perl interface to allow reading and writing of
|
||||
compressed data created with the lzma library.
|
||||
|
||||
%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 IO-Compress-Lzma-%{version}
|
||||
|
||||
@ -76,6 +93,12 @@ chmod -c -x examples/*
|
||||
perl -pi -e 's|^#!/usr/local/bin/perl\b|#!/usr/bin/perl|' \
|
||||
examples/lzcat examples/lzstream examples/xzcat examples/xzstream
|
||||
|
||||
# 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
|
||||
make %{?_smp_mflags}
|
||||
@ -84,6 +107,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}
|
||||
cp -a examples %{buildroot}%{_libexecdir}/%{name}
|
||||
cat > %{buildroot}%{_libexecdir}/%{name}/test << 'EOF'
|
||||
#!/bin/bash
|
||||
set -e
|
||||
# Tests write into temporary files/directories. The solution is to copy the
|
||||
# tests into a writable directory and execute them from there.
|
||||
DIR=$(mktemp -d)
|
||||
pushd "$DIR"
|
||||
cp -a %{_libexecdir}/%{name}/* ./
|
||||
prove -I . -j "$(getconf _NPROCESSORS_ONLN)"
|
||||
popd
|
||||
rm -rf "$DIR"
|
||||
EOF
|
||||
chmod +x %{buildroot}%{_libexecdir}/%{name}/test
|
||||
|
||||
%check
|
||||
make test COMPRESS_ZLIB_RUN_MOST=1
|
||||
@ -98,7 +138,89 @@ make test COMPRESS_ZLIB_RUN_MOST=1
|
||||
%{_mandir}/man3/IO::Uncompress::UnLzma.3*
|
||||
%{_mandir}/man3/IO::Uncompress::UnXz.3*
|
||||
|
||||
%files tests
|
||||
%{_libexecdir}/%{name}
|
||||
|
||||
%changelog
|
||||
* Wed Dec 17 2025 Michal Josef Špaček <mspacek@redhat.com> - 2.206-8
|
||||
- Fix tests for Image Mode.
|
||||
Resolves: RHEL-136488
|
||||
|
||||
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 2.206-7
|
||||
- Bump release for October 2024 mass rebuild:
|
||||
Resolves: RHEL-64018
|
||||
|
||||
* Mon Aug 26 2024 Jitka Plesnikova <jplesnik@redhat.com> - 2.206-6
|
||||
- Fix filters of dependencies
|
||||
|
||||
* Fri Jul 12 2024 Michal Josef Špaček <mspacek@redhat.com> - 2.206-5
|
||||
- Package tests
|
||||
|
||||
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 2.206-4
|
||||
- Bump release for June 2024 mass rebuild
|
||||
|
||||
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.206-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.206-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Wed Jul 26 2023 Paul Howarth <paul@city-fan.org> - 2.206-1
|
||||
- Update to 2.206
|
||||
- Drop rt.cpan.org from SUPPORT section
|
||||
|
||||
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.205-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Mon Jul 17 2023 Paul Howarth <paul@city-fan.org> - 2.205-1
|
||||
- Update to 2.205
|
||||
- Add perl 5.38 to CI matrix
|
||||
- Add on workflow_dispatch
|
||||
- Add some OO examples
|
||||
|
||||
* Thu Feb 9 2023 Paul Howarth <paul@city-fan.org> - 2.204-1
|
||||
- Update to 2.204 (no functional changes)
|
||||
- Use SPDX-format license tag
|
||||
|
||||
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.201-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.201-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Sat Jun 25 2022 Paul Howarth <paul@city-fan.org> - 2.201-1
|
||||
- Update to 2.201 (no functional changes)
|
||||
|
||||
* Tue May 31 2022 Jitka Plesnikova <jplesnik@redhat.com> - 2.103-2
|
||||
- Perl 5.36 rebuild
|
||||
|
||||
* Mon Apr 4 2022 Paul Howarth <paul@city-fan.org> - 2.103-1
|
||||
- Update to 2.103 (no changes)
|
||||
|
||||
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.101-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.101-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 2.101-3
|
||||
- Perl 5.34 rebuild
|
||||
|
||||
* Fri Mar 19 2021 Jitka Plesnikova <jplesnik@redhat.com> - 2.101-2
|
||||
- Disable optional tests on ELN
|
||||
|
||||
* Sat Feb 20 2021 Paul Howarth <paul@city-fan.org> - 2.101-1
|
||||
- Update to 2.101 (no changes)
|
||||
|
||||
* 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 7 2021 Paul Howarth <paul@city-fan.org> - 2.100-1
|
||||
- Update to 2.100
|
||||
- Trim whitespace
|
||||
- Avoid indirect calls
|
||||
- Fix typo
|
||||
|
||||
* Sat Aug 1 2020 Paul Howarth <paul@city-fan.org> - 2.096-1
|
||||
- Update to 2.096
|
||||
- Add test for Zip with XZ compression
|
||||
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 (IO-Compress-Lzma-2.206.tar.gz) = f0f1f5ab3ba03b08d8905dcd166fe7591bc955517f42b20300a709dd5cec2f7db9cd7bec3547df95124772879eb6349b810a52f25b351eff4f626026a6e8e043
|
||||
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-IO-Compress-Lzma
|
||||
require: perl-IO-Compress-Lzma-tests
|
||||
test: /usr/libexec/perl-IO-Compress-Lzma/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