|
|
@ -6,10 +6,10 @@
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
Name: perl-IO-Compress-Lzma
|
|
|
|
Name: perl-IO-Compress-Lzma
|
|
|
|
Version: 2.101
|
|
|
|
Version: 2.206
|
|
|
|
Release: 4%{?dist}
|
|
|
|
Release: 6%{?dist}
|
|
|
|
Summary: Read and write lzma compressed data
|
|
|
|
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
|
|
|
|
URL: https://metacpan.org/release/IO-Compress-Lzma
|
|
|
|
Source0: https://cpan.metacpan.org/modules/by-module/IO/IO-Compress-Lzma-%{version}.tar.gz
|
|
|
|
Source0: https://cpan.metacpan.org/modules/by-module/IO/IO-Compress-Lzma-%{version}.tar.gz
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
@ -59,13 +59,26 @@ BuildRequires: perl(Test::NoWarnings)
|
|
|
|
BuildRequires: perl(Test::Pod) >= 1.00
|
|
|
|
BuildRequires: perl(Test::Pod) >= 1.00
|
|
|
|
BuildRequires: /usr/bin/7z
|
|
|
|
BuildRequires: /usr/bin/7z
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
# Runtime
|
|
|
|
# Dependencies
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
# (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
|
|
|
|
%description
|
|
|
|
This distribution provides a Perl interface to allow reading and writing of
|
|
|
|
This distribution provides a Perl interface to allow reading and writing of
|
|
|
|
compressed data created with the lzma library.
|
|
|
|
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
|
|
|
|
%prep
|
|
|
|
%setup -q -n IO-Compress-Lzma-%{version}
|
|
|
|
%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|' \
|
|
|
|
perl -pi -e 's|^#!/usr/local/bin/perl\b|#!/usr/bin/perl|' \
|
|
|
|
examples/lzcat examples/lzstream examples/xzcat examples/xzstream
|
|
|
|
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
|
|
|
|
%build
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
make %{?_smp_mflags}
|
|
|
@ -88,6 +107,15 @@ make %{?_smp_mflags}
|
|
|
|
make pure_install DESTDIR=%{buildroot}
|
|
|
|
make pure_install DESTDIR=%{buildroot}
|
|
|
|
find %{buildroot} -type f -name .packlist -delete
|
|
|
|
find %{buildroot} -type f -name .packlist -delete
|
|
|
|
%{_fixperms} -c %{buildroot}
|
|
|
|
%{_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
|
|
|
|
%check
|
|
|
|
make test COMPRESS_ZLIB_RUN_MOST=1
|
|
|
|
make test COMPRESS_ZLIB_RUN_MOST=1
|
|
|
@ -102,13 +130,65 @@ make test COMPRESS_ZLIB_RUN_MOST=1
|
|
|
|
%{_mandir}/man3/IO::Uncompress::UnLzma.3*
|
|
|
|
%{_mandir}/man3/IO::Uncompress::UnLzma.3*
|
|
|
|
%{_mandir}/man3/IO::Uncompress::UnXz.3*
|
|
|
|
%{_mandir}/man3/IO::Uncompress::UnXz.3*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files tests
|
|
|
|
|
|
|
|
%{_libexecdir}/%{name}
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2.101-4
|
|
|
|
* Mon Aug 26 2024 Jitka Plesnikova <jplesnik@redhat.com> - 2.206-6
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
- Fix filters of dependencies
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
|
|
* 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
|
|
|
|
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 2.101-3
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
- Perl 5.34 rebuild
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Mar 19 2021 Jitka Plesnikova <jplesnik@redhat.com> - 2.101-2
|
|
|
|
* Fri Mar 19 2021 Jitka Plesnikova <jplesnik@redhat.com> - 2.101-2
|
|
|
|
- Disable optional tests on ELN
|
|
|
|
- Disable optional tests on ELN
|
|
|
|