rpms/xca/devel xca.spec,1.9,1.10
Enrico Scholz (ensc)
fedora-extras-commits at redhat.com
Sat May 21 13:46:12 UTC 2005
Author: ensc
Update of /cvs/extras/rpms/xca/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv32290
Modified Files:
xca.spec
Log Message:
generalized db4 detection
fixed x86_64 builds
Index: xca.spec
===================================================================
RCS file: /cvs/extras/rpms/xca/devel/xca.spec,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- xca.spec 19 May 2005 17:03:29 -0000 1.9
+++ xca.spec 21 May 2005 13:46:10 -0000 1.10
@@ -5,7 +5,7 @@
Summary: Graphical X.509 certificate management tool
Name: xca
Version: 0.5.1
-Release: %release_func 2
+Release: %release_func 3
License: BSD
Group: Applications/Productivity
@@ -36,13 +36,18 @@
%patch1 -p2 -b .gcc4
%patch2 -p1 -b .db43
-sed -i 's! db_cxx-4 ! db_cxx-4 db_cxx-4.3 !g' configure
+dblibs=$(echo /usr/%_lib/libdb_cxx*.so | tac | sed -e 's!.*lib\(db[^ ]*\)\.so!\1!g')
+sed -i "s! db_cxx-4 ! ${dblibs} !g" configure
+
+mkdir -p _tmp_root/usr
+ln -s /usr/%_lib _tmp_root/usr/lib
+ln -s /%_lib _tmp_root/lib
%build
test -n "$QTDIR" || . %_sysconfdir/profile.d/qt.sh
CC='%__cc' LD='%__ld' CFLAGS="$RPM_OPT_FLAGS" STRIP=: prefix=%_prefix \
-./configure
+./configure `pwd`/_tmp_root{,/usr}
%__make %{?_smp_mflags}
lrelease xca.pro
@@ -81,6 +86,10 @@
%changelog
+* Sat May 21 2005 Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de> - 0.5.1-3
+- generalized db4 detection
+- fixed x86_64 builds
+
* Thu May 19 2005 Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de> - 0.5.1-2
- use %%dist instead of %%disttag
More information about the fedora-extras-commits
mailing list