rpms/compat-db/F-13 compat-db.spec,1.43,1.44

Jindrich Novy jnovy at fedoraproject.org
Thu Jun 17 07:43:55 UTC 2010


Author: jnovy

Update of /cvs/pkgs/rpms/compat-db/F-13
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv22407

Modified Files:
	compat-db.spec 
Log Message:
* Thu Jun 17 2010 Jindrich Novy <jnovy at redhat.com> 4.7.25-3
- fix dependencies on multiarch systems (#590973)
- compile with -fno-strict-aliasing



Index: compat-db.spec
===================================================================
RCS file: /cvs/pkgs/rpms/compat-db/F-13/compat-db.spec,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -p -r1.43 -r1.44
--- compat-db.spec	11 Jan 2010 13:21:31 -0000	1.43
+++ compat-db.spec	17 Jun 2010 07:43:55 -0000	1.44
@@ -9,7 +9,7 @@
 Summary: The Berkeley DB database compatibility library
 Name: compat-db
 Version: 4.7.25
-Release: 2%{?dist}
+Release: 3%{?dist}
 Source0: http://download.oracle.com/berkeley-db/db-%{db45_version}.tar.gz
 Source1: http://download.oracle.com/berkeley-db/db-%{db46_version}.tar.gz
 Source2: http://download.oracle.com/berkeley-db/db-%{db47_version}.tar.gz
@@ -38,8 +38,8 @@ License: BSD
 Group: System Environment/Libraries
 BuildRequires: findutils, libtool, perl, sed, ed
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-Requires: compat-db45 = %{db45_version}-%{release}
-Requires: compat-db46 = %{db46_version}-%{release}
+Requires: compat-db45%{?_isa} = %{db45_version}-%{release}
+Requires: compat-db46%{?_isa} = %{db46_version}-%{release}
 
 %description
 The Berkeley Database (Berkeley DB) is a programmatic toolkit that provides
@@ -130,6 +130,7 @@ for version in %{db4_versions} ; do
 done
 
 %build
+export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
 for version in %{db4_versions} ; do
 	pushd db-${version}/dist
 	./s_config
@@ -264,6 +265,10 @@ rm -rf ${RPM_BUILD_ROOT}
 %{_includedir}/db%{db47_version}
 
 %changelog
+* Thu Jun 17 2010 Jindrich Novy <jnovy at redhat.com> 4.7.25-3
+- fix dependencies on multiarch systems (#590973)
+- compile with -fno-strict-aliasing
+
 * Mon Jan 11 2010 Jindrich Novy <jnovy at redhat.com> 4.7.25-2
 - readd compatibility patch
 - define default file attributes



More information about the scm-commits mailing list