From 6daecaddcbe244ac013a8e51cdcec9ee401025f2 Mon Sep 17 00:00:00 2001 From: Thomas Woerner Date: Jul 13 2015 13:35:33 +0000 Subject: - Require python3-gobject-base for fedora >= 23 and rhel >= 8 (RHBZ#1242076) - Fix rhel defines: No python3 for rhel-7 --- diff --git a/firewalld.spec b/firewalld.spec index 3c5e09a..67e6914 100644 --- a/firewalld.spec +++ b/firewalld.spec @@ -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 - 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 - 0.3.14.2-2 - Fixed 'pid_file' referenced before assignment (RHBZ#1233232)