diff --git a/python-qt5.spec b/python-qt5.spec index 8efd01e..6399d28 100644 --- a/python-qt5.spec +++ b/python-qt5.spec @@ -1,5 +1,5 @@ -%if 0%{?fedora} +%if 0%{?fedora} || 0%{?rhel} > 7 %global with_python3 1 %global python3_dbus_dir %(%{__python3} -c "import dbus.mainloop; print(dbus.mainloop.__path__[0])") %endif @@ -8,7 +8,7 @@ # enable/disable individual modules # drop power64, it's not supported yet (than) -%if 0%{?fedora} > 22 +%if 0%{?fedora} || 0%{?rhel} > 7 %ifarch %{?qt5_qtwebengine_arches}%{?!qt5_qtwebengine_arches:%{ix86} x86_64 %{arm} aarch64 mips mipsel mips64el} %global webengine 1 %endif @@ -20,7 +20,7 @@ Summary: PyQt5 is Python bindings for Qt5 Name: python-qt5 Version: 5.9 -Release: 6%{?dist} +Release: 7%{?dist} # all BSD, except for GPLv2+ dbus bindings and examples License: BSD and GPLv2+ @@ -456,6 +456,9 @@ sed -i \ %changelog +* Fri Sep 29 2017 Troy Dawson - 0.7.19-5 +- Cleanup spec file conditionals + * Thu Aug 03 2017 Fedora Release Engineering - 5.9-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild