diff --git a/python-matplotlib.changes b/python-matplotlib.changes index 104c496..ed12e39 100644 --- a/python-matplotlib.changes +++ b/python-matplotlib.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Mar 20 10:08:51 UTC 2012 - toddrme2178@gmail.com + +- Fix Qt Designer plugin directories + ------------------------------------------------------------------- Fri Mar 16 15:13:32 UTC 2012 - toddrme2178@gmail.com diff --git a/python-matplotlib.spec b/python-matplotlib.spec index 70e861b..14ee9da 100644 --- a/python-matplotlib.spec +++ b/python-matplotlib.spec @@ -94,7 +94,7 @@ Requires: python-wxGTK wxWidgets backend for %{name} plotting package %package designer -Summary: %{name} widget for Qt Designer +Summary: Qt Designer %{name} plugin Group: Development/Libraries/Python License: MIT Requires: %{name} = %{version} @@ -118,9 +118,9 @@ python setup.py build %install python setup.py install --root=%{buildroot} \ --record-rpm=INSTALLED_FILES --prefix=%{_prefix} -mkdir -p %{buildroot}%{_libdir}/qt4/PyQt4/plugins/ -cp -v %{SOURCE2} %{buildroot}%{_libdir}/qt4/PyQt4/plugins/ -cp -v %{SOURCE3} %{buildroot}%{py_sitedir}/%{modname}/ +mkdir -p %{buildroot}%{_libdir}/qt4/plugins/designer/python/ +install -vm 755 %{SOURCE2} %{buildroot}%{_libdir}/qt4/plugins/designer/python/ +install -vm 755 %{SOURCE3} %{buildroot}%{py_sitedir}/ %clean rm -rf %{buildroot} @@ -139,7 +139,6 @@ rm -rf %{buildroot} %exclude %{py_sitedir}/%{modname}/backends/_tkagg.so %exclude %{py_sitedir}/%{modname}/backends/backend_wx.* %exclude %{py_sitedir}/%{modname}/backends/backend_wxagg.* -%exclude %{py_sitedir}/%{modname}/%{modname}widget.py %files tk %defattr(-,root,root,-) @@ -154,9 +153,11 @@ rm -rf %{buildroot} %files designer %defattr(-,root,root,-) -%dir %{_libdir}/qt4/PyQt4 -%dir %{_libdir}/qt4/PyQt4/plugins -%{_libdir}/qt4/PyQt4/plugins/%{modname}plugin.py -%{py_sitedir}/%{modname}/%{modname}widget.py +%dir %{_libdir}/qt4/ +%dir %{_libdir}/qt4/plugins/ +%dir %{_libdir}/qt4/plugins/designer/ +%dir %{_libdir}/qt4/plugins/designer/python/ +%{_libdir}/qt4/plugins/designer/python/%{modname}plugin.py +%{py_sitedir}/%{modname}widget.py %changelog