- Require python3-gobject-base for fedora >= 23 and rhel >= 8 (RHBZ#1242076)

- Fix rhel defines: No python3 for rhel-7
This commit is contained in:
Thomas Woerner 2015-07-13 15:35:33 +02:00
parent 400c17b1f3
commit 6daecaddcb

View File

@ -1,4 +1,4 @@
%if (0%{?fedora} >= 13 || 0%{?rhel} >= 7)
%if (0%{?fedora} >= 13 || 0%{?rhel} > 7)
%global with_python3 1
%if (0%{?fedora} >= 23 || 0%{?rhel} >= 8)
%global use_python3 1
@ -8,7 +8,7 @@
Summary: A firewall daemon with D-Bus interface providing a dynamic firewall
Name: firewalld
Version: 0.3.14.2
Release: 2%{?dist}
Release: 3%{?dist}
URL: http://www.firewalld.org
License: GPLv2+
Source0: https://fedorahosted.org/released/firewalld/%{name}-%{version}.tar.bz2
@ -79,7 +79,11 @@ Summary: Python3 bindings for firewalld
Requires: python3-dbus
Requires: python3-slip-dbus
Requires: python3-decorator
%if (0%{?fedora} >= 23 || 0%{?rhel} >= 8)
Requires: python3-gobject-base
%else
Requires: python3-gobject
%endif
%description -n python3-firewall
Python3 bindings for firewalld.
@ -476,6 +480,10 @@ fi
%endif
%changelog
* Mon Jul 13 2015 Thomas Woerner <twoerner@redhat.com> - 0.3.14.2-3
- Require python3-gobject-base for fedora >= 23 and rhel >= 8 (RHBZ#1242076)
- Fix rhel defines: No python3 for rhel-7
* Thu Jun 18 2015 Thomas Woerner <twoerner@redhat.com> - 0.3.14.2-2
- Fixed 'pid_file' referenced before assignment (RHBZ#1233232)