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) %if (0%{?fedora} >= 13 || 0%{?rhel} >= 7)
%define with_python3 1 %global with_python3 1
%if (0%{?fedora} >= 22 || 0%{?rhel} >= 8) %if (0%{?fedora} >= 23 || 0%{?rhel} >= 8)
%define use_python3 1 %global use_python3 1
%endif %endif
%endif %endif
Summary: A firewall daemon with D-Bus interface providing a dynamic firewall Summary: A firewall daemon with D-Bus interface providing a dynamic firewall
Name: firewalld Name: firewalld
Version: 0.3.13 Version: 0.3.13
Release: 2%{?dist} Release: 3%{?dist}
URL: http://www.firewalld.org URL: http://www.firewalld.org
License: GPLv2+ License: GPLv2+
Source0: https://fedorahosted.org/released/firewalld/%{name}-%{version}.tar.bz2 Source0: https://fedorahosted.org/released/firewalld/%{name}-%{version}.tar.bz2
@ -413,6 +413,9 @@ fi
%endif %endif
%changelog %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 * Wed Jan 28 2015 Thomas Woerner <twoerner@redhat.com> - 0.3.13-2
- enable python2 and python3 bindings for fedora >= 20 and rhel >= 7 - enable python2 and python3 bindings for fedora >= 20 and rhel >= 7
- use python3 bindings on fedora >= 22 and rhel >= 8 for firewalld, - use python3 bindings on fedora >= 22 and rhel >= 8 for firewalld,