rpms/postgresql/devel postgresql.spec,1.94,1.95
Tom Lane (tgl)
fedora-extras-commits at redhat.com
Sun May 18 02:18:36 UTC 2008
- Previous message (by thread): rpms/strigi/F-7 strigi-compile-fix.patch, NONE, 1.1 strigi-lucenetest_fix.patch, NONE, 1.1 .cvsignore, 1.5, 1.6 sources, 1.5, 1.6 strigi.spec, 1.9, 1.10
- Next message (by thread): rpms/pulseaudio/devel wrong-assert.patch, NONE, 1.1 pulseaudio.spec, 1.40, 1.41
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: tgl
Update of /cvs/pkgs/rpms/postgresql/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv23241
Modified Files:
postgresql.spec
Log Message:
Enable LDAP support.
Use -Wl,--as-needed to suppress bogus dependencies.
Index: postgresql.spec
===================================================================
RCS file: /cvs/pkgs/rpms/postgresql/devel/postgresql.spec,v
retrieving revision 1.94
retrieving revision 1.95
diff -u -r1.94 -r1.95
--- postgresql.spec 28 Apr 2008 23:00:55 -0000 1.94
+++ postgresql.spec 18 May 2008 02:17:53 -0000 1.95
@@ -68,6 +68,7 @@
%{!?tcl:%define tcl 1}
%{!?ssl:%define ssl 1}
%{!?kerberos:%define kerberos 1}
+%{!?ldap:%define ldap 1}
%{!?nls:%define nls 1}
%{!?uuid:%define uuid 1}
%{!?xml:%define xml 1}
@@ -82,7 +83,7 @@
Summary: PostgreSQL client programs and libraries
Name: postgresql
Version: 8.3.1
-Release: 3%{?dist}
+Release: 4%{?dist}
License: BSD
Group: Applications/Databases
Url: http://www.postgresql.org/
@@ -138,6 +139,10 @@
BuildRequires: e2fsprogs-devel
%endif
+%if %ldap
+BuildRequires: openldap-devel
+%endif
+
%if %nls
BuildRequires: gettext >= 0.10.35
%endif
@@ -393,6 +398,10 @@
# Strip out -ffast-math from CFLAGS....
CFLAGS=`echo $CFLAGS|xargs -n 1|grep -v ffast-math|xargs -n 100`
+# Use --as-needed to eliminate unnecessary link dependencies.
+# Hopefully upstream will do this for itself in some future release.
+LDFLAGS="-Wl,--as-needed"; export LDFLAGS
+
%configure --disable-rpath \
%if %beta
--enable-debug \
@@ -408,6 +417,9 @@
%if %plpython
--with-python \
%endif
+%if %ldap
+ --with-ldap \
+%endif
%if %ssl
--with-openssl \
%endif
@@ -843,6 +855,12 @@
%endif
%changelog
+* Sat May 17 2008 Tom Lane <tgl at redhat.com> 8.3.1-4
+- Enable LDAP support
+Resolves: #445315
+- Use -Wl,--as-needed to suppress bogus dependencies for libraries that
+ are really only needed by some of the subpackages
+
* Mon Apr 28 2008 Tom Lane <tgl at redhat.com> 8.3.1-3
- Fix build breakage on PPC due to incorrect configure test
Related: #444317
- Previous message (by thread): rpms/strigi/F-7 strigi-compile-fix.patch, NONE, 1.1 strigi-lucenetest_fix.patch, NONE, 1.1 .cvsignore, 1.5, 1.6 sources, 1.5, 1.6 strigi.spec, 1.9, 1.10
- Next message (by thread): rpms/pulseaudio/devel wrong-assert.patch, NONE, 1.1 pulseaudio.spec, 1.40, 1.41
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list