]> git.pld-linux.org Git - packages/python-PyQt4.git/commitdiff
- fix uic plugins instalation auto/th/python-PyQt4-4_7_2-3 auto/ti/python-PyQt4-4_7_2-3
authorArtur Frysiak <artur@frysiak.net>
Mon, 22 Mar 2010 19:55:44 +0000 (19:55 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- rel 3

Changed files:
    python-PyQt4.spec -> 1.50

python-PyQt4.spec

index 07ba693b6bf4656002aecd15ac4dd4c69ceaf66c..52ac3467a691c634ded773fe8b4d25602ca2c310 100644 (file)
@@ -9,7 +9,7 @@ Summary:        Python bindings for the Qt4 toolkit
 Summary(pl.UTF-8):     DowiÄ…zania do toolkitu Qt4 dla Pythona
 Name:          python-%{module}
 Version:       4.7.2
-Release:       2
+Release:       3
 License:       GPL v2
 Group:         Libraries/Python
 Source0:       http://www.riverbankcomputing.com/static/Downloads/PyQt4/PyQt-x11-gpl-%{version}.tar.gz
@@ -136,7 +136,14 @@ install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
 %py_comp $RPM_BUILD_ROOT%{py_sitedir}
 %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
-%py_postclean
+
+# don't use py_postclean, leave *.py in %{py_sitedir}/PyQt4/uic/widget-plugins
+rm $RPM_BUILD_ROOT%{py_sitedir}/PyQt4/*.py
+rm $RPM_BUILD_ROOT%{py_sitedir}/PyQt4/uic/*.py
+rm $RPM_BUILD_ROOT%{py_sitedir}/PyQt4/uic/Compiler/*.py
+rm $RPM_BUILD_ROOT%{py_sitedir}/PyQt4/uic/Loader/*.py
+rm $RPM_BUILD_ROOT%{py_sitedir}/PyQt4/uic/port_v2/*.py
+rm $RPM_BUILD_ROOT%{py_sitedir}/PyQt4/uic/port_v3/*.py
 
 cp -R examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
This page took 0.039392 seconds and 4 git commands to generate.