7.3 bump, 5.18 compatibility changes

This commit is contained in:
Petr Šabata 2013-06-03 16:09:14 +02:00
parent acd9554049
commit 5eba68ed5e
3 changed files with 23 additions and 12 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
Bit-Vector-7.1.tar.gz
/Bit-Vector-7.2.tar.gz
/Bit-Vector-7.3.tar.gz

View File

@ -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@redhat.com> - 7.3-1
- 7.3 bump, 5.18 compatibility changes
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.2-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild

View File

@ -1 +1 @@
3b185cf5c89646c1b897b75a276c1468 Bit-Vector-7.2.tar.gz
684e63a93db1e0eda25a103258b39725 Bit-Vector-7.3.tar.gz