rpms/qt/devel qt.spec,1.188,1.189

Than Ngo (than) fedora-extras-commits at redhat.com
Fri Jun 13 20:38:42 UTC 2008


Author: than

Update of /cvs/extras/rpms/qt/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv1770

Modified Files:
	qt.spec 
Log Message:
cleanup



Index: qt.spec
===================================================================
RCS file: /cvs/extras/rpms/qt/devel/qt.spec,v
retrieving revision 1.188
retrieving revision 1.189
diff -u -r1.188 -r1.189
--- qt.spec	13 Jun 2008 17:29:24 -0000	1.188
+++ qt.spec	13 Jun 2008 20:37:56 -0000	1.189
@@ -1,9 +1,6 @@
 
 # Fedora Review: http://bugzilla.redhat.com/188180
 
-#define pre_tag rc1
-#define pre -%{pre_tag}
-
 Summary: Qt toolkit
 %if 0%{?fedora} > 8
 Name:    qt
@@ -17,7 +14,7 @@
 License: GPLv3 or GPLv2 with exceptions or QPL
 Group: System Environment/Libraries
 Url: http://www.trolltech.com/products/qt/
-Source0: ftp://ftp.trolltech.com/qt/source/qt-x11-opensource-src-%{version}%{?pre}.tar.bz2
+Source0: ftp://ftp.trolltech.com/qt/source/qt-x11-opensource-src-%{version}.tar.bz2
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 %if "%{name}" != "qt4"
@@ -84,7 +81,6 @@
 
 # See http://bugzilla.redhat.com/196901
 %define _qt4_prefix %{_libdir}/qt4
-#define _qt4_bindir %{_bindir}
 %define _qt4_bindir %{_qt4_prefix}/bin
 # _qt4_datadir is not multilib clean, and hacks to workaround that breaks stuff.
 #define _qt4_datadir %{_datadir}/qt4
@@ -282,10 +278,6 @@
 Provides: %{name}-assistant = %{version}-%{release}
 %endif
 Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
-%if "%{_qt4_bindir}" != "%{_bindir}"
-# if using qt4-wrapper.sh
-Requires: redhat-rpm-config rpm
-%endif
 %if "%{name}" != "qt4"
 Obsoletes: qt4-x11 < %{version}-%{release}
 Provides:  qt4-x11 = %{version}-%{release}
@@ -446,6 +438,7 @@
 %endif
 
 # let rpm handle binaries conflicts
+mkdir %{buildroot}%{_bindir}
 pushd %{buildroot}%{_qt4_bindir}
 for i in * ; do
   mv $i ../../../bin/




More information about the fedora-extras-commits mailing list