From e24f6cfcb49292c4bb6871218e99b0dd3691edea Mon Sep 17 00:00:00 2001 From: Jiri Popelka Date: Mon, 23 Feb 2015 14:44:14 +0100 Subject: [PATCH] use python3 bindings on fedora >=23 https://lists.fedoraproject.org/pipermail/devel/2015-February/208208.html --- firewalld.spec | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/firewalld.spec b/firewalld.spec index 06b5b05..3aeef0a 100644 --- a/firewalld.spec +++ b/firewalld.spec @@ -1,14 +1,14 @@ %if (0%{?fedora} >= 13 || 0%{?rhel} >= 7) -%define with_python3 1 -%if (0%{?fedora} >= 22 || 0%{?rhel} >= 8) -%define use_python3 1 +%global with_python3 1 +%if (0%{?fedora} >= 23 || 0%{?rhel} >= 8) +%global use_python3 1 %endif %endif Summary: A firewall daemon with D-Bus interface providing a dynamic firewall Name: firewalld Version: 0.3.13 -Release: 2%{?dist} +Release: 3%{?dist} URL: http://www.firewalld.org License: GPLv2+ Source0: https://fedorahosted.org/released/firewalld/%{name}-%{version}.tar.bz2 @@ -413,6 +413,9 @@ fi %endif %changelog +* Mon Feb 23 2015 Jiri Popelka - 0.3.13-3 +- use python3 bindings on fedora >=23 + * Wed Jan 28 2015 Thomas Woerner - 0.3.13-2 - enable python2 and python3 bindings for fedora >= 20 and rhel >= 7 - use python3 bindings on fedora >= 22 and rhel >= 8 for firewalld,