SPECS: perl-DB_File.spec - rel 2 - require exact version of BerkeleyDB the ...

baggins baggins at pld-linux.org
Thu Jun 12 11:42:27 CEST 2008


Author: baggins                      Date: Thu Jun 12 09:42:27 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- rel 2
- require exact version of BerkeleyDB the module was compiled with
	(YAY! No more fucked up spamassassin bayes db!)

---- Files affected:
SPECS:
   perl-DB_File.spec (1.54 -> 1.55) 

---- Diffs:

================================================================
Index: SPECS/perl-DB_File.spec
diff -u SPECS/perl-DB_File.spec:1.54 SPECS/perl-DB_File.spec:1.55
--- SPECS/perl-DB_File.spec:1.54	Wed Apr  2 11:18:41 2008
+++ SPECS/perl-DB_File.spec	Thu Jun 12 11:42:22 2008
@@ -3,6 +3,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
@@ -10,7 +12,7 @@
 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
@@ -18,6 +20,7 @@
 # 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
@@ -70,6 +73,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.55  2008-06-12 09:42:22  baggins
+- rel 2
+- require exact version of BerkeleyDB the module was compiled with
+	(YAY! No more fucked up spamassassin bayes db!)
+
 Revision 1.54  2008-04-02 09:18:41  arekm
 - up to 1.817
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/perl-DB_File.spec?r1=1.54&r2=1.55&f=u



More information about the pld-cvs-commit mailing list