rpms/qt4/EL-4 qt4.spec,1.36,1.37

Rex Dieter (rdieter) fedora-extras-commits at redhat.com
Mon Mar 26 17:49:08 UTC 2007


Author: rdieter

Update of /cvs/extras/rpms/qt4/EL-4
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv9004

Modified Files:
	qt4.spec 
Log Message:
try %ifarch ppc instead



Index: qt4.spec
===================================================================
RCS file: /cvs/extras/rpms/qt4/EL-4/qt4.spec,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -r1.36 -r1.37
--- qt4.spec	26 Mar 2007 17:25:10 -0000	1.36
+++ qt4.spec	26 Mar 2007 17:48:34 -0000	1.37
@@ -13,7 +13,7 @@
 Summary: Qt toolkit
 Name:	 qt4
 Version: 4.2.3
-Release: 6%{?dist}.2
+Release: 6%{?dist}.3
 
 License: GPL/QPL
 Group: 	 System Environment/Libraries
@@ -124,12 +124,15 @@
 %endif
 
 %if "%{?sqlite:1}" != "-no-sql-sqlite"
-# el4/ppc doesn't have sqlite-devel, wtf? -- Rex
-%if "%{?rhel}" != "4" || "%{?_target_cpu}" != "ppc"
 %define _system_sqlite -system-sqlite
-BuildRequires: sqlite-devel
+%if "%{?rhel}" == "4"
+%ifarch ppc
+# el4/ppc doesn't have sqlite-devel, wtf? -- Rex
+%undefine _system_sqlite
+%endif
 %endif
 %endif
+%{?_system_sqlite:BuildRequires: sqlite-devel}
 
 Obsoletes: %{name}-config < %{version}-%{release}
 Provides:  %{name}-config = %{version}-%{release}




More information about the fedora-extras-commits mailing list