rpms/sip/devel sip.spec,1.52,1.53

Than Ngo than at fedoraproject.org
Tue Sep 2 13:50:50 UTC 2008


Author: than

Update of /cvs/extras/rpms/sip/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv2871

Modified Files:
	sip.spec 
Log Message:
- get rid of BR on qt



Index: sip.spec
===================================================================
RCS file: /cvs/extras/rpms/sip/devel/sip.spec,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -r1.52 -r1.53
--- sip.spec	26 Aug 2008 15:19:59 -0000	1.52
+++ sip.spec	2 Sep 2008 13:50:20 -0000	1.53
@@ -2,18 +2,10 @@
 %{!?python_sitearch:%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
 %{!?python_inc:%global python_inc %(%{__python} -c "from distutils.sysconfig import get_python_inc; print get_python_inc(1)")}
 
-%if 0%{?fedora} > 8
-%define qtver 3.3.8
-%define qtpkg qt3
-%else
-%define qtver 1:3.3.8
-%define qtpkg qt
-%endif
-
 Summary: SIP - Python/C++ Bindings Generator
 Name: sip
 Version: 4.7.7
-Release: 1%{?dist}
+Release: 2%{?dist}
 # http://www.riverbankcomputing.com/Docs/sip4/sipref.html#license
 License: Python Software Foundation License v2 
 Group: Development/Tools
@@ -22,7 +14,6 @@
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires: python-devel
-BuildRequires: %{qtpkg}-devel >= %{qtver}
 BuildRequires: sed
 
 %description
@@ -53,15 +44,6 @@
 
 
 %build
-QTDIR="" && source /etc/profile.d/qt.sh
-
-# use qt qmake files
-for target in default linux-g++ linux-g++-32 linux-g++-64 ; do
-  if [ -f $QTDIR/mkspecs/$target/qmake.conf -a -f specs/$target ] ; then
-    ln -sf $QTDIR/mkspecs/$target/qmake.conf specs/$target
-  fi
-done
-
 %{__python} configure.py -d %{python_sitearch} CXXFLAGS="%{optflags}" CFLAGS="%{optflags}"
 
 make %{?_smp_mflags} 
@@ -91,6 +73,9 @@
 
 
 %changelog
+* Tue Sep 02 2008 Than Ngo <than at redhat.com> 4.7.7-2
+- get rid of BR on qt
+
 * Tue Aug 26 2008 Rex Dieter <rdieter at fedoraproject.org> - 4.7.7-1
 - sip-4.7.7
 




More information about the fedora-extras-commits mailing list