2.26 bump
This commit is contained in:
parent
b3d10d0897
commit
c3031ed242
1
.gitignore
vendored
1
.gitignore
vendored
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user