diff --git a/PyQwt.spec b/PyQwt.spec index d4b5301..30c2ee5 100644 --- a/PyQwt.spec +++ b/PyQwt.spec @@ -2,7 +2,7 @@ Name: PyQwt Version: 5.2.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Python bindings for Qwt Group: Development/Languages @@ -15,7 +15,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: python-devel BuildRequires: sip-devel BuildRequires: PyQt4-devel -BuildRequires: numpy +BuildRequires: numpy-f2py BuildRequires: qwt-devel Requires: PyQt4 @@ -53,13 +53,19 @@ make %{?_smp_mflags} rm -rf %{buildroot} cd configure make DESTDIR=%{buildroot} install +# move the generated pdf and html documentation to sphinx directory and remove the build files cd .. mv sphinx/build/latex/PyQwt.pdf sphinx +rm sphinx/build/html/.buildinfo mv sphinx/build/html sphinx rm -rf sphinx/build -# non-executable script +# non-executable scripts chmod 755 %{buildroot}/%{python_sitearch}/PyQt4/Qwt5/grace.py +chmod 755 %{buildroot}/%{python_sitearch}/PyQt4/Qwt5/qplt.py + +#FIXME!!! temporarily remove qwt.py* files which conflict with PyQt4 package +rm -rf %{buildroot}/%{python_sitearch}/PyQt4/uic %clean rm -rf %{buildroot} @@ -78,6 +84,14 @@ rm -rf %{buildroot} %{_datadir}/sip/PyQt4/Qwt5/ %changelog +* Wed Oct 28 2009 Tadej Janež 5.2.0-2 +- made qplt.py executable (to fix a rpmlint error) +- removed html/.buildinfo from sphinx documentation (to fix a rpmlint error) +- changed BuildRequires from numpy to numpy-f2py to cope with the numpy + package split +- temporarily removed qwt.py* files which conflict with the ones provided + by the PyQt4 package + * Sun Sep 6 2009 Milos Jakubicek - 5.2.0-1 - Fix FTBFS: Update to 5.2.0