f38
Petr Písař 5 years ago
parent 00635a844b
commit 2b09573fcf

1
.gitignore vendored

@ -7,3 +7,4 @@ Archive-Extract-0.26.tar.gz
/Archive-Extract-0.76.tar.gz
/Archive-Extract-0.78.tar.gz
/Archive-Extract-0.80.tar.gz
/Archive-Extract-0.82.tar.gz

@ -1,2 +0,0 @@
from Config import *
addFilter("spelling-error .* (Bzipped|decompressor|gz|Gzip|lzma|tbz|txz|xz|Xzed)");

@ -0,0 +1,6 @@
from Config import *
addFilter("spelling-error .* (Bzipped|decompressor|gz|Gzip|lzma|tbz|txz|xz|Xzed)");
# Meta packages do not cary any files.
addFilter("-(bz2-bunzip2|bz2-IO-Uncompress-Bunzip2|gz-Compress-Zlib|gz-gzip|lzma-IO-Uncompress-UnLzma|lzma-IO-Uncompress-UnLzma|lzma-unlzma|tar-Archive-Tar|tar-tar|tbz-Archive-Tar-IO-Uncompress-Bunzip2|tbz-Archive-Tar-IO-Uncompress-Bunzip2|tbz-tar-bunzip2|tgz-Archive-Tar-Compress-Zlib|tgz-Archive-Tar-IO-Zlib|tgz-tar-gzip|txz-Archive-Tar-IO-Uncompress-UnXz|txz-tar-unxz|xz-IO-Uncompress-UnXz|xz-unxz|Z-Compress-Zlib|zip-Archive-Zip|zip-unzip|Z-uncompress).noarch: W: no-documentation");
# The identifiers are long. We cannot do anything with it.
addFilter("E: summary-too-long");

@ -8,8 +8,8 @@
Name: perl-Archive-Extract
# Epoch to compete with core module from perl.spec
Epoch: 1
Version: 0.80
Release: 11%{?dist}
Version: 0.82
Release: 1%{?dist}
Summary: Generic archive extracting mechanism
License: GPL+ or Artistic
URL: https://metacpan.org/release/Archive-Extract
@ -76,7 +76,7 @@ command-line tools on your system.
# bz2: bunzip2 || IO::Uncompress::Bunzip2
%package bz2-bunzip2
Summary: Bzip2 decompressor for %{name} via bunzip2
Provides: %{name}-bz2
Provides: %{name}-bz2 = %{epoch}:%{version}-%{release}
Requires: %{name} = %{epoch}:%{version}-%{release}
Requires: bzip2
%description bz2-bunzip2
@ -84,7 +84,7 @@ Requires: bzip2
%package bz2-IO-Uncompress-Bunzip2
Summary: Bzip2 decompressor for %{name} via IO::Uncompress::Bunzip2
Provides: %{name}-bz2
Provides: %{name}-bz2 = %{epoch}:%{version}-%{release}
Requires: %{name} = %{epoch}:%{version}-%{release}
Requires: perl(IO::Uncompress::Bunzip2)
%description bz2-IO-Uncompress-Bunzip2
@ -93,7 +93,7 @@ Requires: perl(IO::Uncompress::Bunzip2)
# gz: gzip || Compress::Zlib
%package gz-gzip
Summary: Gzip decompressor for %{name} via gzip
Provides: %{name}-gz
Provides: %{name}-gz = %{epoch}:%{version}-%{release}
Requires: %{name} = %{epoch}:%{version}-%{release}
Requires: gzip
%description gz-gzip
@ -101,7 +101,7 @@ Requires: gzip
%package gz-Compress-Zlib
Summary: Gzip decompressor for %{name} via Compress::Zlib
Provides: %{name}-gz
Provides: %{name}-gz = %{epoch}:%{version}-%{release}
Requires: %{name} = %{epoch}:%{version}-%{release}
Requires: perl(Compress::Zlib)
%description gz-Compress-Zlib
@ -110,7 +110,7 @@ Requires: perl(Compress::Zlib)
# lzma: unlzma || IO::Uncompress::UnLzma || Compress::unLZMA
%package lzma-unlzma
Summary: Lzma decompressor for %{name} via unlzma
Provides: %{name}-lzma
Provides: %{name}-lzma = %{epoch}:%{version}-%{release}
Requires: %{name} = %{epoch}:%{version}-%{release}
Requires: xz-lzma-compat
%description lzma-unlzma
@ -119,7 +119,7 @@ Requires: xz-lzma-compat
%if %{with perl_Archive_Extract_enables_perl_xz}
%package lzma-IO-Uncompress-UnLzma
Summary: Lzma decompressor for %{name} via IO::Uncompress::UnLzma
Provides: %{name}-lzma
Provides: %{name}-lzma = %{epoch}:%{version}-%{release}
Requires: %{name} = %{epoch}:%{version}-%{release}
Requires: perl(IO::Uncompress::UnLzma)
# perl-Extract-Archive-lzma-Compress-unLZMA removed because Compress::unLZMA
@ -133,7 +133,7 @@ Obsoletes: perl-Archive-Extract-lzma-Compress-unLZMA < 1:0.80-8
# Compress::unLZMA not yet packaged
#%%package lzma-Compress-unLZMA
#Summary: Lzma decompressor for %%{name} via Compress::unLZMA
#Provides: %%{name}-lzma
#Provides: %%{name}-lzma = %%{epoch}:%%{version}-%%{release}
#Requires: %%{name} = %%{epoch}:%%{version}-%%{release}
#Requires: perl(Compress::unLZMA)
#%%description lzma-Compress-unLZMA
@ -143,7 +143,7 @@ Obsoletes: perl-Archive-Extract-lzma-Compress-unLZMA < 1:0.80-8
# tar: tar || Archive::Tar
%package tar-tar
Summary: Tar decompressor for %{name} via tar
Provides: %{name}-tar
Provides: %{name}-tar = %{epoch}:%{version}-%{release}
Requires: %{name} = %{epoch}:%{version}-%{release}
Requires: tar
%description tar-tar
@ -151,7 +151,7 @@ Requires: tar
%package tar-Archive-Tar
Summary: Tar decompressor for %{name} via Archive::Tar
Provides: %{name}-tar
Provides: %{name}-tar = %{epoch}:%{version}-%{release}
Requires: %{name} = %{epoch}:%{version}-%{release}
Requires: perl(Archive::Tar)
%description tar-Archive-Tar
@ -160,7 +160,7 @@ Requires: perl(Archive::Tar)
# tbz: (tar && bunzip2) || (Archive::Tar && IO::Uncompress::Bunzip2)
%package tbz-tar-bunzip2
Summary: Bzipped-tar decompressor for %{name} via tar an bunzip2
Provides: %{name}-tbz
Provides: %{name}-tbz = %{epoch}:%{version}-%{release}
Requires: %{name} = %{epoch}:%{version}-%{release}
Requires: tar
Requires: bzip2
@ -169,17 +169,18 @@ Requires: bzip2
%package tbz-Archive-Tar-IO-Uncompress-Bunzip2
Summary: Bzipped-tar decompressor for %{name} via Archive::Tar and IO::Uncompress::Bunzip2
Provides: %{name}-tbz
Provides: %{name}-tbz = %{epoch}:%{version}-%{release}
Requires: %{name} = %{epoch}:%{version}-%{release}
Requires: perl(Archive::Tar)
Requires: perl(IO::Uncompress::Bunzip2)
%description tbz-Archive-Tar-IO-Uncompress-Bunzip2
%{summary}.
Bzipped-tar decompressor for %{name} via Archive::Tar and
IO::Uncompress::Bunzip2.
# tgz: (tar && gzip) || (Archive::Tar && (Compress::Zlib || IO::Zlib))
%package tgz-tar-gzip
Summary: Gzipped-tar decompressor for %{name} via tar and gzip
Provides: %{name}-tgz
Provides: %{name}-tgz = %{epoch}:%{version}-%{release}
Requires: %{name} = %{epoch}:%{version}-%{release}
Requires: tar
Requires: gzip
@ -188,16 +189,17 @@ Requires: gzip
%package tgz-Archive-Tar-Compress-Zlib
Summary: Gzipped-tar decompressor for %{name} via Archive::Tar and Compress::Zlib
Provides: %{name}-tgz
Provides: %{name}-tgz = %{epoch}:%{version}-%{release}
Requires: %{name} = %{epoch}:%{version}-%{release}
Requires: perl(Archive::Tar)
Requires: perl(Compress::Zlib)
%description tgz-Archive-Tar-Compress-Zlib
%{summary}.
Gzipped-tar decompressor for %{name} via Archive::Tar and
Compress::Zlib.
%package tgz-Archive-Tar-IO-Zlib
Summary: Gzipped-tar decompressor for %{name} via Archive::Tar and IO::Zlib
Provides: %{name}-tgz
Provides: %{name}-tgz = %{epoch}:%{version}-%{release}
Requires: %{name} = %{epoch}:%{version}-%{release}
Requires: perl(Archive::Tar)
Requires: perl(IO::Zlib)
@ -207,7 +209,7 @@ Requires: perl(IO::Zlib)
# txz: (tar && unxz) || (Archive::Tar && IO::Uncompress::UnXz)
%package txz-tar-unxz
Summary: Xzed-tar decompressor for %{name} via tar and unxz
Provides: %{name}-txz
Provides: %{name}-txz = %{epoch}:%{version}-%{release}
Requires: %{name} = %{epoch}:%{version}-%{release}
Requires: tar
Requires: xz
@ -217,18 +219,19 @@ Requires: xz
%if %{with perl_Archive_Extract_enables_perl_xz}
%package txz-Archive-Tar-IO-Uncompress-UnXz
Summary: Xzed-tar decompressor for %{name} via Archive::Tar and IO::Uncompress::UnXz
Provides: %{name}-txz
Provides: %{name}-txz = %{epoch}:%{version}-%{release}
Requires: %{name} = %{epoch}:%{version}-%{release}
Requires: perl(Archive::Tar)
Requires: perl(IO::Uncompress::UnXz)
%description txz-Archive-Tar-IO-Uncompress-UnXz
%{summary}.
Xzed-tar decompressor for %{name} via Archive::Tar and
IO::Uncompress::UnXz.
%endif
# Z: uncompress || Compress::Zlib
%package Z-uncompress
Summary: Z decompressor for %{name} via uncompress
Provides: %{name}-Z
Provides: %{name}-Z = %{epoch}:%{version}-%{release}
Requires: %{name} = %{epoch}:%{version}-%{release}
Requires: ncompress
%description Z-uncompress
@ -236,7 +239,7 @@ Requires: ncompress
%package Z-Compress-Zlib
Summary: Z decompressor for %{name} via Compress::Zlib
Provides: %{name}-Z
Provides: %{name}-Z = %{epoch}:%{version}-%{release}
Requires: %{name} = %{epoch}:%{version}-%{release}
Requires: perl(Compress::Zlib)
%description Z-Compress-Zlib
@ -245,7 +248,7 @@ Requires: perl(Compress::Zlib)
# zip: unzip || Archive::Zip
%package zip-unzip
Summary: ZIP decompressor for %{name} via unzip
Provides: %{name}-zip
Provides: %{name}-zip = %{epoch}:%{version}-%{release}
Requires: %{name} = %{epoch}:%{version}-%{release}
Requires: unzip
%description zip-unzip
@ -253,7 +256,7 @@ Requires: unzip
%package zip-Archive-Zip
Summary: ZIP decompressor for %{name} via Archive::Zip
Provides: %{name}-zip
Provides: %{name}-zip = %{epoch}:%{version}-%{release}
Requires: %{name} = %{epoch}:%{version}-%{release}
Requires: perl(Archive::Zip)
%description zip-Archive-Zip
@ -262,7 +265,7 @@ Requires: perl(Archive::Zip)
# xz: unxz || IO::Uncompress::UnXz
%package xz-unxz
Summary: Xz decompressor for %{name} via unxz
Provides: %{name}-xz
Provides: %{name}-xz = %{epoch}:%{version}-%{release}
Requires: %{name} = %{epoch}:%{version}-%{release}
Requires: xz
%description xz-unxz
@ -271,7 +274,7 @@ Requires: xz
%if %{with perl_Archive_Extract_enables_perl_xz}
%package xz-IO-Uncompress-UnXz
Summary: Xz decompressor for %{name} via IO::Uncompress::UnXz
Provides: %{name}-xz
Provides: %{name}-xz = %{epoch}:%{version}-%{release}
Requires: %{name} = %{epoch}:%{version}-%{release}
Requires: perl(IO::Uncompress::UnXz)
%description xz-IO-Uncompress-UnXz
@ -282,11 +285,11 @@ Requires: perl(IO::Uncompress::UnXz)
%setup -q -n Archive-Extract-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
make %{?_smp_mflags}
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
%{make_build}
%install
make pure_install DESTDIR=$RPM_BUILD_ROOT
%{make_install}
%{_fixperms} $RPM_BUILD_ROOT/*
%check
@ -329,6 +332,9 @@ make test
%endif
%changelog
* Mon Nov 25 2019 Petr Pisar <ppisar@redhat.com> - 1:0.82-1
- 0.82 bump
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.80-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

@ -1 +1 @@
SHA512 (Archive-Extract-0.80.tar.gz) = 2f216ea29639c4d8b7b19e4b23542b6f69e970cfb0188dca55ff7ce7d3a3021e43129dbdf81b82f7d97d0080d00f858c6af3595520b6bacac30073a8b25ea4f0
SHA512 (Archive-Extract-0.82.tar.gz) = c4e9ccc7d57e9528ca7abd00829f77a9c9d5df6eabc68c0c06a24d02e37129adfd3f1f051c12524e2373484b2f3378e1608d00f833f6579f87f1b444dc4df4f6

Loading…
Cancel
Save