[perl-BDB] 1.9 bump

Petr Pisar ppisar at fedoraproject.org
Thu Apr 19 08:58:07 UTC 2012


commit b701d63afc9c8d4f269efb36a22a5003e60dd6bb
Author: Petr Písař <ppisar at redhat.com>
Date:   Thu Apr 19 10:57:16 2012 +0200

    1.9 bump

 .gitignore    |    1 +
 perl-BDB.spec |   23 ++++++++++++++++++-----
 sources       |    2 +-
 3 files changed, 20 insertions(+), 6 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index baec009..902e2d3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 BDB-1.87.tar.gz
 /BDB-1.88.tar.gz
+/BDB-1.9.tar.gz
diff --git a/perl-BDB.spec b/perl-BDB.spec
index 921c44b..16ff8dc 100644
--- a/perl-BDB.spec
+++ b/perl-BDB.spec
@@ -1,25 +1,34 @@
+%global cpan_version 1.9
+
 Name:           perl-BDB
-Version:        1.88
-Release:        5%{?dist}
+# Extend to 2 digits to get higher RPM package version than 1.88
+Version:        %{cpan_version}0
+Release:        1%{?dist}
 Summary:        Asynchronous Berkeley DB access
 
 Group:          Development/Libraries
 License:        GPL+ or Artistic
 URL:            http://search.cpan.org/dist/BDB/
-Source0:        http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/BDB-%{version}.tar.gz
+Source0:        http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/BDB-%{cpan_version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(base)
 BuildRequires:  perl(common::sense)
-BuildRequires:  db4-devel
+BuildRequires:  perl(Exporter)
+BuildRequires:  perl(XSLoader)
+BuildRequires:  libdb-devel
 Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires:  perl(XSLoader)
+
+%{?perl_default_filter}
 
 %description
 Asynchronous Berkeley DB access.
 
 
 %prep
-%setup -q -n BDB-%{version}
+%setup -q -n BDB-%{cpan_version}
 
 
 %build
@@ -53,6 +62,10 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Thu Apr 19 2012 Petr Pisar <ppisar at redhat.com> - 1.90-1
+- 1.9 bump
+- Use Berkeley database version 5
+
 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.88-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 
diff --git a/sources b/sources
index 1e3e16f..6ef1809 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-64ef414a55a49edf78302a80b3871b94  BDB-1.88.tar.gz
+b9956899e9c42034a3ecb73289ad3521  BDB-1.9.tar.gz



More information about the perl-devel mailing list