2.26 bump

This commit is contained in:
Petr Písař 2017-04-11 13:09:43 +02:00
parent b3d10d0897
commit c3031ed242
3 changed files with 11 additions and 10 deletions

1
.gitignore vendored
View File

@ -10,3 +10,4 @@ Compress-Bzip2-2.09.tar.gz
/Compress-Bzip2-2.22.tar.gz
/Compress-Bzip2-2.24.tar.gz
/Compress-Bzip2-2.25.tar.gz
/Compress-Bzip2-2.26.tar.gz

View File

@ -2,10 +2,9 @@
%bcond_without perl_Compress_Bzip2_enables_optional_test
Name: perl-Compress-Bzip2
Version: 2.25
Version: 2.26
Release: 1%{?dist}
Summary: Interface to Bzip2 compression library
Group: Development/Libraries
# bzlib-src/win-tst-dlltest.c (unbundled): Public Domain
# bzlib-src/LICENSE (unbundled): BSD
# bzlib-src/manual.ps (unbundled): GPL+ with exception
@ -14,7 +13,6 @@ License: GPL+ or Artistic
URL: http://search.cpan.org/dist/Compress-Bzip2/
Source0: http://www.cpan.org/authors/id/R/RU/RURBAN/Compress-Bzip2-%{version}.tar.gz
BuildRequires: bzip2-devel >= 1.0.5
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: gcc
BuildRequires: make
@ -63,19 +61,18 @@ the preferred IO::Compress::Bzip2 instead.
%prep
%setup -q -n Compress-Bzip2-%{version}
# Remove bundled bzip2 library
find bzlib-src -mindepth 1 -type f \! -name 'sample*' -exec rm -rf {} +
find bzlib-src -mindepth 1 -type f \! -name 'sample*' -delete
sed -i -e '/^bzlib-src\//d' MANIFEST
find bzlib-src -type f >>MANIFEST
%build
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 OPTIMIZE="$RPM_OPT_FLAGS"
make %{?_smp_mflags}
%install
make pure_install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -delete
find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -delete
chmod -R u+w $RPM_BUILD_ROOT/*
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name '*.bs' -empty -delete
%{_fixperms} %{buildroot}
%check
make test
@ -88,6 +85,9 @@ make test
%{_mandir}/man3/*.3pm*
%changelog
* Tue Apr 11 2017 Petr Pisar <ppisar@redhat.com> - 2.26-1
- 2.26 bump
* Mon Nov 14 2016 Petr Pisar <ppisar@redhat.com> - 2.25-1
- 2.25 bump

View File

@ -1 +1 @@
2c4336e3cd345acce4fae07e9f8b71fb Compress-Bzip2-2.25.tar.gz
SHA512 (Compress-Bzip2-2.26.tar.gz) = be1670303496a9f48989777468234d52276b34e6c0fdb6e99d2199134f353f1ee32e0489a3797ab3a2d4777bb5f03f78dff39f3bf75b8cc511b754da2b7e4959