|
|
|
@ -1,10 +1,10 @@
|
|
|
|
|
|
|
|
|
|
%if 0%{?fedora} || 0%{?rhel} > 7
|
|
|
|
|
%global with_python3 1
|
|
|
|
|
%global python3_dbus_dir %(%{__python3} -c "import dbus.mainloop; print(dbus.mainloop.__path__[0])")
|
|
|
|
|
%global python3_dbus_dir %(%{__python3} -c "import dbus.mainloop; print(dbus.mainloop.__path__[0])" 2>/dev/null)
|
|
|
|
|
%endif
|
|
|
|
|
%global with_python2 1
|
|
|
|
|
%global python2_dbus_dir %(%{__python2} -c "import dbus.mainloop; print(dbus.mainloop.__path__[0])")
|
|
|
|
|
%global python2_dbus_dir %(%{__python2} -c "import dbus.mainloop; print(dbus.mainloop.__path__[0])" 2>/dev/null)
|
|
|
|
|
|
|
|
|
|
# enable/disable individual modules
|
|
|
|
|
# drop power64, it's not supported yet (than)
|
|
|
|
@ -19,8 +19,8 @@
|
|
|
|
|
|
|
|
|
|
Summary: PyQt5 is Python bindings for Qt5
|
|
|
|
|
Name: python-qt5
|
|
|
|
|
Version: 5.9
|
|
|
|
|
Release: 8%{?dist}
|
|
|
|
|
Version: 5.9.1
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
|
|
|
|
|
# all BSD, except for GPLv2+ dbus bindings and examples
|
|
|
|
|
License: BSD and GPLv2+
|
|
|
|
@ -67,10 +67,10 @@ BuildRequires: pkgconfig(Qt5Xml) pkgconfig(Qt5XmlPatterns)
|
|
|
|
|
BuildRequires: pkgconfig(Qt5WebChannel)
|
|
|
|
|
BuildRequires: pkgconfig(Qt5WebSockets)
|
|
|
|
|
BuildRequires: python2-devel python2
|
|
|
|
|
BuildRequires: sip-devel >= 4.19.2
|
|
|
|
|
BuildRequires: sip-devel >= 4.19.4
|
|
|
|
|
%if 0%{?with_python3}
|
|
|
|
|
BuildRequires: python3-devel python3
|
|
|
|
|
BuildRequires: python3-sip-devel >= 4.19.2
|
|
|
|
|
BuildRequires: python3-sip-devel >= 4.19.4
|
|
|
|
|
BuildRequires: python3-dbus
|
|
|
|
|
%endif # with_python3
|
|
|
|
|
|
|
|
|
@ -456,6 +456,9 @@ sed -i \
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sat Nov 04 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.9.1-1
|
|
|
|
|
- 5.9.1
|
|
|
|
|
|
|
|
|
|
* Mon Oct 09 2017 Rex Dieter <rdieter@fedoraproject.org> - 5.9-8
|
|
|
|
|
- rebuild (qt5)
|
|
|
|
|
|
|
|
|
|