rpms/rhdb-utils/devel rhdb-utils.spec,1.20,1.21

Tom Lane tgl at fedoraproject.org
Fri Jun 4 21:55:43 UTC 2010


Author: tgl

Update of /cvs/pkgs/rpms/rhdb-utils/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv3537

Modified Files:
	rhdb-utils.spec 
Log Message:
Add -fno-strict-aliasing to CFLAGS per rpmdiff complaint


Index: rhdb-utils.spec
===================================================================
RCS file: /cvs/pkgs/rpms/rhdb-utils/devel/rhdb-utils.spec,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -p -r1.20 -r1.21
--- rhdb-utils.spec	19 Jan 2010 20:08:12 -0000	1.20
+++ rhdb-utils.spec	4 Jun 2010 21:55:43 -0000	1.21
@@ -6,7 +6,7 @@
 Summary: Miscellaneous utilities for PostgreSQL - Red Hat Edition
 Name: rhdb-utils
 Version: 8.4.0
-Release: 2%{?dist}
+Release: 3%{?dist}
 URL: http://sources.redhat.com/rhdb/
 # pg_crc.c is copied from postgresql, hence MIT; the rest is GPL
 License: GPLv2+ and MIT
@@ -34,7 +34,7 @@ cp %{SOURCE1} pg_crc.c
 %patch1 -p1
 
 %build
-export CFLAGS="$RPM_OPT_FLAGS"
+export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -fwrapv"
 
 make
 
@@ -53,6 +53,11 @@ rm -rf ${RPM_BUILD_ROOT}
 %doc ChangeLog README.pg_filedump
 
 %changelog
+* Fri Jun  4 2010 Tom Lane <tgl at redhat.com> 8.4.0-3
+- Add -fno-strict-aliasing to CFLAGS per rpmdiff complaint, and -fwrapv
+  too just to be on the safe side.
+Related: #596204
+
 * Tue Jan 19 2010 Tom Lane <tgl at redhat.com> 8.4.0-2
 - Correct License: tag to reflect that pg_crc.c is copied from postgresql.
 



More information about the scm-commits mailing list