Cleanup spec file conditionals

This commit is contained in:
Troy Dawson 2017-09-29 10:01:18 -07:00
parent 474fcb22a3
commit 2d0ab40c1c

View File

@ -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 <tdawson@redhat.com> - 0.7.19-5
- Cleanup spec file conditionals
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.9-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild