Prune bundled bzip2 sources

This commit is contained in:
Petr Písař 2018-07-30 14:32:36 +02:00
parent ff5e91cd09
commit 5dc6aac958

View File

@ -8,7 +8,10 @@
Name: perl-Compress-Raw-Bzip2
Summary: Low-level interface to bzip2 compression library
Version: 2.081
Release: 4%{?dist}
Release: 5%{?dist}
# Other files: GPL+ or Artistic
## unbundled
# bzip2-src: BSD
License: GPL+ or Artistic
Group: Development/Libraries
URL: https://metacpan.org/release/Compress-Raw-Bzip2
@ -64,6 +67,9 @@ It is used by IO::Compress::Bzip2.
%prep
%setup -q -n Compress-Raw-Bzip2-%{version}
# Remove bundled bzip2 sources
rm -r bzip2-src
perl -i -ne 'print unless /^bzip2-src\//' MANIFEST
%build
BUILD_BZIP2=0
@ -88,6 +94,9 @@ make test
%{_mandir}/man3/Compress::Raw::Bzip2.3*
%changelog
* Mon Jul 30 2018 Petr Pisar <ppisar@redhat.com> - 2.081-5
- Prune bundled bzip2 sources
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.081-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild