pwouters pushed to xca (epel7). "readded x86_64 workarounds"

notifications at fedoraproject.org notifications at fedoraproject.org
Mon May 18 20:58:36 UTC 2015


From 3027de8d2cbebd5a65525e19a7f0620635b867a9 Mon Sep 17 00:00:00 2001
From: ensc <ensc at fedoraproject.org>
Date: Sat, 17 Mar 2007 17:33:57 +0000
Subject: readded x86_64 workarounds


diff --git a/xca.spec b/xca.spec
index e02441d..ba0b47f 100644
--- a/xca.spec
+++ b/xca.spec
@@ -1,4 +1,4 @@
-## $Id: xca.spec,v 1.13 2006/09/15 17:52:07 ensc Exp $
+## $Id: xca.spec,v 1.14 2007/03/17 17:09:19 ensc Exp $
 
 %{!?release_func:%global release_func() %1%{?dist}}
 
@@ -33,6 +33,10 @@ PEM, DER, PKCS#8.
 %setup -q
 %patch0 -p1 -b .locale
 
+mkdir -p _tmp_root/usr 	 
+ln -s /usr/%_lib	_tmp_root/usr/lib 	 
+ln -s /%_lib		_tmp_root/lib
+
 install -p -m644 %SOURCE1 '.'
 
 
@@ -40,7 +44,7 @@ install -p -m644 %SOURCE1 '.'
 #test -n "$QTDIR" || . %_sysconfdir/profile.d/qt.sh
 export QTDIR=%_libdir/qt4
 CC='%__cc' LD='%__ld' CFLAGS="$RPM_OPT_FLAGS -DXCA_DEFAULT_TRANSLATE=\\\"%_datadir/qt4/translations\\\"" STRIP=: prefix=%_prefix \
-./configure %_libdir
+./configure `pwd`/_tmp_root{,/usr}
 %__make %{?_smp_mflags}
 
 convert img/xca.ico xca.png
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/xca.git/commit/?h=epel7&id=3027de8d2cbebd5a65525e19a7f0620635b867a9


More information about the scm-commits mailing list