]> git.pld-linux.org Git - packages/perl-DB_File.git/commitdiff
- rel 2
authorJan Rękorajski <baggins@pld-linux.org>
Thu, 12 Jun 2008 09:42:22 +0000 (09:42 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- require exact version of BerkeleyDB the module was compiled with
(YAY! No more fucked up spamassassin bayes db!)

Changed files:
    perl-DB_File.spec -> 1.55

perl-DB_File.spec

index 3d67df75e142555ffe68323fa06a82c46f272b7f..8f9a44958de15a401cb78422248b94f5c5b1fb51 100644 (file)
@@ -2,6 +2,8 @@
 # Conditional build:
 %bcond_without tests   # do not perform "make test"
 #
+%define        db_ver  %(rpm -q --what-provides --qf '%%{epoch}:%%{version}' db-devel)
+#
 %include       /usr/lib/rpm/macros.perl
 %define                pdir    DB_File
 %define                pnam    DB_File
@@ -9,7 +11,7 @@ Summary:       DB_File allows to manage a simple ASCII database
 Summary(pl.UTF-8):     DB_File pozwala na korzystanie z prostej, tekstowej bazy danych
 Name:          perl-DB_File
 Version:       1.817
-Release:       1
+Release:       2
 # same as perl
 License:       GPL or Artistic
 Group:         Development/Languages/Perl
@@ -17,6 +19,7 @@ Source0:      http://www.cpan.org/modules/by-module/DB_File/%{pnam}-%{version}.tar.gz
 # Source0-md5: 405ee3e2e76c557d8574980eecf04379
 Patch0:                %{name}-rpm-automation.patch
 URL:           http://search.cpan.org/dist/DB_File/
+Requires:      db = %{db_ver}
 BuildRequires: db-devel
 BuildRequires: perl-devel >= 1:5.8.0
 BuildRequires: rpm-perlprov >= 4.1-13
This page took 0.028067 seconds and 4 git commands to generate.