Compare commits

...

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

2
.gitignore vendored

@ -1 +1 @@
SOURCES/IO-Compress-Lzma-2.101.tar.gz
SOURCES/IO-Compress-Lzma-2.206.tar.gz

@ -1 +1 @@
99c504e8c1506419be0c142b0d9cde4d607ce501 SOURCES/IO-Compress-Lzma-2.101.tar.gz
9cd0c62bd954d11932a79e2b0218102d78d8522a SOURCES/IO-Compress-Lzma-2.206.tar.gz

@ -6,10 +6,10 @@
%endif
Name: perl-IO-Compress-Lzma
Version: 2.101
Release: 4%{?dist}
Version: 2.206
Release: 7%{?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
@ -59,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}
@ -80,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}
@ -88,6 +107,15 @@ 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/sh
cd %{_libexecdir}/%{name} && exec prove -I . -j "$(getconf _NPROCESSORS_ONLN)"
EOF
chmod +x %{buildroot}%{_libexecdir}/%{name}/test
%check
make test COMPRESS_ZLIB_RUN_MOST=1
@ -102,13 +130,69 @@ make test COMPRESS_ZLIB_RUN_MOST=1
%{_mandir}/man3/IO::Uncompress::UnLzma.3*
%{_mandir}/man3/IO::Uncompress::UnXz.3*
%files tests
%{_libexecdir}/%{name}
%changelog
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2.101-4
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* 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 Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2.101-3
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* 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

Loading…
Cancel
Save