From c3031ed2426800e3ef32f42e46e6cab66319aac2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppi...@redhat.com>
Date: Tue, 11 Apr 2017 13:09:43 +0200
Subject: 2.26 bump

---
 .gitignore               |  1 +
 perl-Compress-Bzip2.spec | 18 +++++++++---------
 sources                  |  2 +-
 3 files changed, 11 insertions(+), 10 deletions(-)

diff --git a/.gitignore b/.gitignore
index b709e5a..5d650b7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -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
diff --git a/perl-Compress-Bzip2.spec b/perl-Compress-Bzip2.spec
index dd8ece2..c815c19 100644
--- a/perl-Compress-Bzip2.spec
+++ b/perl-Compress-Bzip2.spec
@@ -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 <ppi...@redhat.com> - 2.26-1
+- 2.26 bump
+
 * Mon Nov 14 2016 Petr Pisar <ppi...@redhat.com> - 2.25-1
 - 2.25 bump
 
diff --git a/sources b/sources
index 3d034ed..b22c6f1 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-2c4336e3cd345acce4fae07e9f8b71fb  Compress-Bzip2-2.25.tar.gz
+SHA512 (Compress-Bzip2-2.26.tar.gz) = 
be1670303496a9f48989777468234d52276b34e6c0fdb6e99d2199134f353f1ee32e0489a3797ab3a2d4777bb5f03f78dff39f3bf75b8cc511b754da2b7e4959
-- 
cgit v1.1


        
https://src.fedoraproject.org/cgit/perl-Compress-Bzip2.git/commit/?h=f25&id=c3031ed2426800e3ef32f42e46e6cab66319aac2
_______________________________________________
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org

Reply via email to