SPECS: democracy.spec - fix amd64 build, pass CC

glen glen at pld-linux.org
Wed Jan 3 02:48:19 CET 2007


Author: glen                         Date: Wed Jan  3 01:48:19 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fix amd64 build, pass CC

---- Files affected:
SPECS:
   democracy.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/democracy.spec
diff -u SPECS/democracy.spec:1.1 SPECS/democracy.spec:1.2
--- SPECS/democracy.spec:1.1	Wed Jan  3 02:31:12 2007
+++ SPECS/democracy.spec	Wed Jan  3 02:48:14 2007
@@ -7,6 +7,7 @@
 Group:		Applications/Multimedia
 Source0:	ftp://ftp.osuosl.org/pub/pculture.org/democracy/src/Democracy-%{version}.tar.gz
 # Source0-md5:	0b92aa3efb2a93e7c066152137fcf9fa
+Patch0:		%{name}-lib64.patch
 URL:		http://www.getdemocracy.com/
 BuildRequires:	boost-python-devel
 BuildRequires:	libfame
@@ -31,13 +32,18 @@
 
 %prep
 %setup -q -n Democracy-%{version}
+%if "%{_lib}" != "lib"
+%patch0 -p1
+%endif
 
 mv platform/gtk-x11/README README.gtk-x11
 
 %build
 cd platform/gtk-x11
 
-CFLAGS="%{rpmcflags}" %{__python} setup.py build
+CC="%{__cc}" \
+CFLAGS="%{rpmcflags}" \
+%{__python} setup.py build
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -93,6 +99,8 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2007/01/03 01:48:14  glen
+- fix amd64 build, pass CC
+
 Revision 1.1  2007/01/03 01:31:12  glen
 - new
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/democracy.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list