[perl-Bit-Vector] 7.3 bump, 5.18 compatibility changes

Petr Šabata psabata at fedoraproject.org
Mon Jun 3 14:09:27 UTC 2013


commit 5eba68ed5e31e2f13b5a410c4b3b1c552a6c0e23
Author: Petr Šabata <contyk at redhat.com>
Date:   Mon Jun 3 16:09:14 2013 +0200

    7.3 bump, 5.18 compatibility changes

 .gitignore           |    1 +
 perl-Bit-Vector.spec |   32 +++++++++++++++++++++-----------
 sources              |    2 +-
 3 files changed, 23 insertions(+), 12 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 111a8e2..795bf8e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 Bit-Vector-7.1.tar.gz
 /Bit-Vector-7.2.tar.gz
+/Bit-Vector-7.3.tar.gz
diff --git a/perl-Bit-Vector.spec b/perl-Bit-Vector.spec
index 3e5f987..bcbccb3 100644
--- a/perl-Bit-Vector.spec
+++ b/perl-Bit-Vector.spec
@@ -1,23 +1,32 @@
 Name:           perl-Bit-Vector
-Version:        7.2
-Release:        5%{?dist}
+Version:        7.3
+Release:        1%{?dist}
 Summary:        Efficient bit vector, set of integers and "big int" math library
-
 Group:          Development/Libraries
+# Outdated FSF address reported, rt#85827
 # Clarified by a private mail from the author:
 License:        (GPLv2+ or Artistic) and LGPLv2+
 URL:            http://search.cpan.org/dist/Bit-Vector/
 Source0:        http://www.cpan.org/authors/id/S/ST/STBEY/Bit-Vector-%{version}.tar.gz
-
-BuildRequires:  perl(Carp::Clan) >= 5.4
+BuildRequires:  perl
+BuildRequires:  perl(Carp::Clan) >= 5.3
+BuildRequires:  perl(Config)
 BuildRequires:  perl(DynaLoader)
 BuildRequires:  perl(Exporter)
 BuildRequires:  perl(ExtUtils::MakeMaker)
-BuildRequires:  perl(Storable)
-Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+BuildRequires:  perl(integer)
+BuildRequires:  perl(overload)
+BuildRequires:  perl(Storable) >= 2.21
+BuildRequires:  perl(strict)
+BuildRequires:  perl(vars)
+Requires:       perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
+Requires:       perl(Carp::Clan) >= 5.3
+Requires:       perl(Storable) >= 2.21
 
 %{?perl_default_filter}
 
+%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}^perl\\(Bit::Vector\\)$
+
 %description
 Bit::Vector is an efficient C library which allows you to handle bit
 vectors, sets (of integers), "big integer arithmetic" and boolean
@@ -27,10 +36,9 @@ The library is efficient (in terms of algorithmical complexity) and
 therefore fast (in terms of execution speed) for instance through the
 widespread use of divide-and-conquer algorithms.
 
-
 %prep
 %setup -q -n Bit-Vector-%{version} 
-chmod 644 examples/*.pl
+chmod -c 644 examples/*.pl
 perl -pi -e 's|^#!/usr/local/bin/perl\b|#!%{__perl}|' examples/benchmk1.pl
 perl -pi -e 's|^#!perl\b|#!%{__perl}|' \
     examples/{benchmk{2,3},primes,SetObject}.pl
@@ -40,10 +48,9 @@ perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
 make %{?_smp_mflags}
 
 %install
-make pure_install PERL_INSTALL_ROOT=%{buildroot}
+make pure_install DESTDIR=%{buildroot}
 find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
 find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
-find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
 %{_fixperms} %{buildroot}/*
 
 %check
@@ -58,6 +65,9 @@ make test
 
 
 %changelog
+* Mon Jun 03 2013 Petr Šabata <contyk at redhat.com> - 7.3-1
+- 7.3 bump, 5.18 compatibility changes
+
 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 7.2-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 
diff --git a/sources b/sources
index a3b5cae..9d7b03f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-3b185cf5c89646c1b897b75a276c1468  Bit-Vector-7.2.tar.gz
+684e63a93db1e0eda25a103258b39725  Bit-Vector-7.3.tar.gz


More information about the scm-commits mailing list