rpms/libdbi/devel libdbi-cflags.patch, NONE, 1.1 libdbi.spec, 1.19, 1.20
Tom Lane (tgl)
fedora-extras-commits at redhat.com
Tue Oct 30 20:40:47 UTC 2007
- Previous message (by thread): rpms/anaconda/F-8 .cvsignore, 1.462, 1.463 anaconda.spec, 1.600, 1.601 sources, 1.591, 1.592
- Next message (by thread): rpms/compiz/devel .cvsignore, 1.31, 1.32 compiz.spec, 1.111, 1.112 sources, 1.33, 1.34
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: tgl
Update of /cvs/pkgs/rpms/libdbi/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv30368
Modified Files:
libdbi.spec
Added Files:
libdbi-cflags.patch
Log Message:
Fix package's selection of CFLAGS to include RPM_OPT_FLAGS.
libdbi-cflags.patch:
--- NEW FILE libdbi-cflags.patch ---
Ensure desirable compile flags are used.
diff -Naur libdbi-0.8.2.orig/configure.in libdbi-0.8.2/configure.in
--- libdbi-0.8.2.orig/configure.in 2007-02-14 17:51:02.000000000 -0500
+++ libdbi-0.8.2/configure.in 2007-10-30 16:11:59.000000000 -0400
@@ -55,7 +55,7 @@
case $host in
*-*-linux*)
DEBUG="-g -Wall -D_REENTRANT -D__NO_MATH_INLINES -fsigned-char -std=gnu99"
- CFLAGS="-O20 -ffast-math -D_REENTRANT -fsigned-char -std=gnu99"
+ CFLAGS="-ffast-math -D_REENTRANT -fsigned-char -std=gnu99 $RPM_OPT_FLAGS"
PROFILE="-pg -g -O20 -ffast-math -D_REENTRANT -fsigned-char -std=gnu99";;
sparc-sun-*)
DEBUG="-g -Wall -D__NO_MATH_INLINES -fsigned-char -mv8 -std=gnu99"
Index: libdbi.spec
===================================================================
RCS file: /cvs/pkgs/rpms/libdbi/devel/libdbi.spec,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- libdbi.spec 2 Aug 2007 21:58:13 -0000 1.19
+++ libdbi.spec 30 Oct 2007 20:40:14 -0000 1.20
@@ -1,12 +1,16 @@
Summary: Database Independent Abstraction Layer for C
Name: libdbi
Version: 0.8.2
-Release: 2%{?dist}
+Release: 3%{?dist}
Group: Development/Libraries
License: LGPLv2+
URL: http://libdbi.sourceforge.net/
+
Source: http://prdownloads.sourceforge.net/libdbi/%{name}-%{version}.tar.gz
+Patch1: libdbi-cflags.patch
+
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+BuildRequires: autoconf
Conflicts: libdbi-dbd-mysql < 0.8
Conflicts: libdbi-dbd-pgsql < 0.8
@@ -35,6 +39,10 @@
%prep
%setup -q -n %{name}-%{version}
+%patch1 -p1
+
+autoconf
+
%build
%configure
@@ -70,6 +78,10 @@
%{_libdir}/libdbi.so
%changelog
+* Tue Oct 30 2007 Tom Lane <tgl at redhat.com> 0.8.2-3
+- Fix package's selection of CFLAGS to include RPM_OPT_FLAGS
+Resolves: #330681
+
* Thu Aug 2 2007 Tom Lane <tgl at redhat.com> 0.8.2-2
- Fix typo in Release field.
- Previous message (by thread): rpms/anaconda/F-8 .cvsignore, 1.462, 1.463 anaconda.spec, 1.600, 1.601 sources, 1.591, 1.592
- Next message (by thread): rpms/compiz/devel .cvsignore, 1.31, 1.32 compiz.spec, 1.111, 1.112 sources, 1.33, 1.34
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list