diff --git a/python-qt5.spec b/python-qt5.spec index 0bccdc0..ca37ec3 100644 --- a/python-qt5.spec +++ b/python-qt5.spec @@ -11,7 +11,7 @@ Summary: Python bindings for Qt5 Name: python-qt5 Version: 5.4 -Release: 1%{?dist} +Release: 2%{?dist} # all BSD, except for GPLv2+ dbus bindings and examples License: BSD and GPLv2+ @@ -149,11 +149,19 @@ popd # Python 3 build: %if 0%{?with_python3} make install DESTDIR=%{buildroot} INSTALL_ROOT=%{buildroot} -C %{py3dir} +# ensure .so modules are executable for proper -debuginfo extraction +for i in %{buildroot}%{python3_sitearch}/PyQt5/*.so %{buildroot}%{python3_dbus_dir}/pyqt5.so ; do +chmod a+rx $i +done %endif # with_python3 # Python 2 build: %if 0%{?with_python2} make install DESTDIR=%{buildroot} INSTALL_ROOT=%{buildroot} +# ensure .so modules are executable for proper -debuginfo extraction +for i in %{buildroot}%{python2_sitearch}/PyQt5/*.so %{buildroot}%{python2_dbus_dir}/pyqt5.so ; do +chmod a+rx $i +done %endif # with_python2 # remove Python3 code from Python2 directory, fixes FTBFS like PyQt4 (#564633) @@ -256,6 +264,9 @@ rm -rfv %{buildroot}%{python3_sitearch}/PyQt5/uic/port_v2/ %changelog +* Sat Dec 27 2014 Rex Dieter 5.4-2 +- ensure .so modules are executable (for proper -debuginfo extraction) + * Fri Dec 26 2014 Rex Dieter 5.4-1 - 5.4