[perl-BDB/f22] 1.91 bump

Jitka Plesnikova jplesnik at fedoraproject.org
Tue Feb 17 12:23:25 UTC 2015


commit eae657162c0f17fce50d90f8f53eb12444079ab7
Author: Jitka Plesnikova <jplesnik at redhat.com>
Date:   Tue Feb 17 13:17:08 2015 +0100

    1.91 bump

 .gitignore    |    1 +
 perl-BDB.spec |   20 +++++++++++++-------
 sources       |    2 +-
 3 files changed, 15 insertions(+), 8 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 902e2d3..a3185f7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 BDB-1.87.tar.gz
 /BDB-1.88.tar.gz
 /BDB-1.9.tar.gz
+/BDB-1.91.tar.gz
diff --git a/perl-BDB.spec b/perl-BDB.spec
index 9e29923..20a03c0 100644
--- a/perl-BDB.spec
+++ b/perl-BDB.spec
@@ -1,20 +1,22 @@
-%global cpan_version 1.9
+%global cpan_version 1.91
 
 Name:           perl-BDB
 # Extend to 2 digits to get higher RPM package version than 1.88
-Version:        %{cpan_version}0
-Release:        9%{?dist}
+Version:        %{cpan_version}
+Release:        1%{?dist}
 Summary:        Asynchronous Berkeley DB access
 License:        GPL+ or Artistic
 URL:            http://search.cpan.org/dist/BDB/
 Source0:        http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/BDB-%{cpan_version}.tar.gz
 BuildRequires:  libdb-devel
+BuildRequires:  perl(Config)
 BuildRequires:  perl(ExtUtils::MakeMaker)
+# Run-time
 BuildRequires:  perl(base)
 BuildRequires:  perl(common::sense)
 BuildRequires:  perl(Exporter)
 BuildRequires:  perl(XSLoader)
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 Requires:       perl(XSLoader)
 
 %{?perl_default_filter}
@@ -26,11 +28,11 @@ Asynchronous Berkeley DB access.
 %setup -qn BDB-%{cpan_version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
+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 {} ';'
 chmod -R u+w %{buildroot}/*
@@ -39,12 +41,16 @@ chmod -R u+w %{buildroot}/*
 make test
 
 %files
-%doc Changes COPYING README
+%license COPYING
+%doc Changes README
 %{perl_vendorarch}/auto/*
 %{perl_vendorarch}/BDB.pm
 %{_mandir}/man3/*.3*
 
 %changelog
+* Tue Feb 17 2015 Jitka Plesnikova <jplesnik at redhat.com> - 1.91-1
+- 1.91 bump
+
 * Wed Aug 27 2014 Jitka Plesnikova <jplesnik at redhat.com> - 1.90-9
 - Perl 5.20 rebuild
 
diff --git a/sources b/sources
index 6ef1809..4c3fcdb 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-b9956899e9c42034a3ecb73289ad3521  BDB-1.9.tar.gz
+b337bb3a52d911b9024b0587b2589dcb  BDB-1.91.tar.gz


More information about the scm-commits mailing list