diff --git a/sip.spec b/sip.spec index 8b92248..048e842 100644 --- a/sip.spec +++ b/sip.spec @@ -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 @@ Source0: http://www.riverbankcomputing.com/static/Downloads/sip4/sip-%{version}. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: python-devel -BuildRequires: %{qtpkg}-devel >= %{qtver} BuildRequires: sed %description @@ -53,15 +44,6 @@ classes library. %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 @@ rm -rf %{buildroot} %changelog +* Tue Sep 02 2008 Than Ngo 4.7.7-2 +- get rid of BR on qt + * Tue Aug 26 2008 Rex Dieter - 4.7.7-1 - sip-4.7.7