SPECS: python-PyQt4.spec - pass INSTALL_ROOT to make install

witekfl witekfl at pld-linux.org
Tue Jul 1 21:29:25 CEST 2008


Author: witekfl                      Date: Tue Jul  1 19:29:25 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- pass INSTALL_ROOT to make install

---- Files affected:
SPECS:
   python-PyQt4.spec (1.22 -> 1.23) 

---- Diffs:

================================================================
Index: SPECS/python-PyQt4.spec
diff -u SPECS/python-PyQt4.spec:1.22 SPECS/python-PyQt4.spec:1.23
--- SPECS/python-PyQt4.spec:1.22	Tue Jul  1 16:14:57 2008
+++ SPECS/python-PyQt4.spec	Tue Jul  1 21:29:19 2008
@@ -1,15 +1,5 @@
 # $Revision$, $Date$
-# 
-# TODO:
-# make[1]: Entering directory `/home/BUILD/PyQt-x11-gpl-4.4.2/designer'
-#install -m 755 -p "libpythonplugin.so" "/usr/lib/qt4/plugins/designer/libpythonplugin.so"
-#install: cannot create regular file `/usr/lib/qt4/plugins/designer/libpythonplugin.so': Permission denied
-#make[1]: [install_target] Error 1 (ignored)
-#strip --strip-unneeded "/usr/lib/qt4/plugins/designer/libpythonplugin.so"
-#strip: '/usr/lib/qt4/plugins/designer/libpythonplugin.so': No such file
-#make[1]: [install_target] Error 1 (ignored)
-#cp -f -r /home/BUILD/PyQt-x11-gpl-4.4.2/designer/python /usr/lib/qt4/plugins/designer/
-#cp: cannot create directory `/usr/lib/qt4/plugins/designer/python': Permission denied
+# TODO: package /usr/lib/qt4/plugins/designer/* ?
 
 %define		module	PyQt4
 %define		sipver  2:4.7.5
@@ -106,7 +96,7 @@
 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
 %{__make} install \
-	DESTDIR=$RPM_BUILD_ROOT
+	DESTDIR=$RPM_BUILD_ROOT INSTALL_ROOT=$RPM_BUILD_ROOT
 
 %py_comp $RPM_BUILD_ROOT%{py_sitedir}
 %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
@@ -126,7 +116,8 @@
 %attr(755,root,root) %{py_sitedir}/dbus/mainloop/qt.so
 %{py_sitedir}/PyQt4/*.py[co]
 %{py_sitedir}/PyQt4/uic
-%{_datadir}/qt4/qsci/api/python/PyQt4.api
+# There is no such file
+#%{_datadir}/qt4/qsci/api/python/PyQt4.api
 
 %files devel
 %defattr(644,root,root,755)
@@ -142,6 +133,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.23  2008/07/01 19:29:19  witekfl
+- pass INSTALL_ROOT to make install
+
 Revision 1.22  2008/07/01 14:14:57  cactus
 - qt.so moved to /usr/lib/... - FHS
 - added TODO
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/python-PyQt4.spec?r1=1.22&r2=1.23&f=u



More information about the pld-cvs-commit mailing list