use python3 bindings on fedora >=23

https://lists.fedoraproject.org/pipermail/devel/2015-February/208208.html
This commit is contained in:
Jiri Popelka 2015-02-23 14:44:14 +01:00
parent 9ca578f732
commit e24f6cfcb4

View File

@ -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 <jpopelka@redhat.com> - 0.3.13-3
- use python3 bindings on fedora >=23
* Wed Jan 28 2015 Thomas Woerner <twoerner@redhat.com> - 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,