[perl-Compress-Bzip2] 2.10 bump

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 08dd9d076020dd2703b0a51f0322b67a924f471a
Author: Petr Písař <ppisar@xxxxxxxxxx>
Date:   Wed Mar 27 13:40:52 2013 +0100

    2.10 bump

 .gitignore               |    1 +
 perl-Compress-Bzip2.spec |   65 +++++++++++++++++++++++++++-------------------
 sources                  |    2 +-
 3 files changed, 40 insertions(+), 28 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e58b5ee..9b66238 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 Compress-Bzip2-2.09.tar.gz
+/Compress-Bzip2-2.10.tar.gz
diff --git a/perl-Compress-Bzip2.spec b/perl-Compress-Bzip2.spec
index 2205af2..0911930 100644
--- a/perl-Compress-Bzip2.spec
+++ b/perl-Compress-Bzip2.spec
@@ -1,60 +1,71 @@
 Name:           perl-Compress-Bzip2
-Version:        2.09
-Release:        17%{?dist}
+Version:        2.10
+Release:        1%{?dist}
 Summary:        Interface to Bzip2 compression library
-
 Group:          Development/Libraries
 License:        GPL+
 URL:            http://search.cpan.org/dist/Compress-Bzip2/
-Source0:        http://www.cpan.org/authors/id/A/AR/ARJAY/Compress-Bzip2-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildRequires:  perl(Test::More)
+Source0:        http://www.cpan.org/authors/id/R/RU/RURBAN/Compress-Bzip2-%{version}.tar.gz
+BuildRequires:  bzip2-devel >= 1.0.6
+BuildRequires:  perl
+BuildRequires:  perl(Config)
+BuildRequires:  perl(File::Copy)
+BuildRequires:  perl(File::Spec)
+BuildRequires:  perl(File::Spec::Functions)
 BuildRequires:  perl(ExtUtils::MakeMaker)
-BuildRequires:  bzip2-devel
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+BuildRequires:  perl(strict)
+# VMS::Filespec not needed
+# Run-time:
+BuildRequires:  perl(AutoLoader)
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(constant)
+BuildRequires:  perl(Exporter)
+BuildRequires:  perl(Fcntl)
+BuildRequires:  perl(Getopt::Std)
+BuildRequires:  perl(warnings)
+BuildRequires:  perl(XSLoader)
+# Tests:
+BuildRequires:  perl(Cwd)
+BuildRequires:  perl(Test::More)
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 
-%description
-The Compress::Bzip2 module provides a Perl interface to the Bzip2
-compression library.  A relevant subset of the functionality provided
-by Bzip2 is available in Compress::Bzip2.
+%{?perl_default_filter}
 
+%description
+The Compress::Bzip2 module provides a Perl interface to the Bzip2 compression
+library. A relevant subset of the functionality provided by Bzip2 is available
+in Compress::Bzip2.
 
 %prep
 %setup -q -n Compress-Bzip2-%{version}
-
+# Remove bundled bzip2 library
+find bzlib-src -mindepth 1 -type f \! -name 'sample*' -exec rm -rf {} +
+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 OPTIMIZE="$RPM_OPT_FLAGS"
 make %{?_smp_mflags}
 
-
 %install
-rm -rf $RPM_BUILD_ROOT
-make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+make pure_install DESTDIR=$RPM_BUILD_ROOT
 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
 find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -exec rm -f {} ';'
-find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
 chmod -R u+w $RPM_BUILD_ROOT/*
 
-
 %check
 make test
 
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
 %files
-%defattr(-,root,root,-)
 %doc ANNOUNCE Changes COPYING NEWS README
 %{perl_vendorarch}/Compress/
 %{perl_vendorarch}/auto/Compress/
 %{_mandir}/man3/*.3pm*
 
-
 %changelog
+* Wed Mar 27 2013 Petr Pisar <ppisar@xxxxxxxxxx> - 2.10-1
+- 2.10 bump
+
 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 2.09-17
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 
diff --git a/sources b/sources
index a7a685d..816f6eb 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-1699fde3e86f2a036f135ae606d456bf  Compress-Bzip2-2.09.tar.gz
+05602701b345bcbfbe931f1af3047964  Compress-Bzip2-2.10.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel





[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux