Author: pghmcfc Update of /cvs/pkgs/rpms/perl-BerkeleyDB/F-13 In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv17430/F-13 Modified Files: perl-BerkeleyDB.spec Log Message: * Tue May 25 2010 Paul Howarth <paul@xxxxxxxxxxxx> - Rebuild for Berkeley DB 4.8.30 in F-13 and Rawhide (#592209) - Hard-code Berkeley DB requirement to avoid problems like #592209 - Add %{?perl_default_filter} Index: perl-BerkeleyDB.spec =================================================================== RCS file: /cvs/pkgs/rpms/perl-BerkeleyDB/F-13/perl-BerkeleyDB.spec,v retrieving revision 1.27 retrieving revision 1.28 diff -u -p -r1.27 -r1.28 --- perl-BerkeleyDB.spec 13 Feb 2010 20:00:58 -0000 1.27 +++ perl-BerkeleyDB.spec 26 May 2010 07:06:51 -0000 1.28 @@ -1,6 +1,9 @@ +# Need to know the exact DB version we're built against +%global db_ver %(sed '/DB_VERSION_STRING/!d;s/.*Berkeley DB[[:space:]]*\\([^:]*\\):.*/\\1/' /usr/include/db4/db.h 2>/dev/null || echo 4.0.0) + Name: perl-BerkeleyDB Version: 0.41 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Perl extension for Berkeley DB version 2, 3 or 4 License: GPL+ or Artistic Group: Development/Libraries @@ -14,6 +17,11 @@ BuildRequires: perl(MLDBM) BuildRequires: perl(Test::More) BuildRequires: perl(Test::Pod) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +# Hard-code Berkeley DB requirement to avoid problems like #592209 +Requires: db4 = %{db_ver} + +# Don't "provide" private Perl libs +%{?perl_default_filter} %description BerkeleyDB is a module that allows Perl programs to make use of the @@ -59,6 +67,11 @@ rm -rf $RPM_BUILD_ROOT %{_bindir}/* %changelog +* Tue May 25 2010 Paul Howarth <paul@xxxxxxxxxxxx> - 0.41-2 +- Rebuild for Berkeley DB 4.8.30 in F-13 and Rawhide (#592209) +- Hard-code Berkeley DB requirement to avoid problems like #592209 +- Add %%{?perl_default_filter} + * Sat Feb 13 2010 Steven Pritchard <steve@xxxxxxxxx> 0.41-1 - Update to 0.41. -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel