diff --git a/firewalld.spec b/firewalld.spec index d14eb8e5df..4be473fa75 100644 --- a/firewalld.spec +++ b/firewalld.spec @@ -8,7 +8,7 @@ Summary: A firewall daemon with D-Bus interface providing a dynamic firewall Name: firewalld Version: 0.4.4.5 -Release: 3%{?dist} +Release: 4%{?dist} URL: http://www.firewalld.org License: GPLv2+ Source0: https://github.com/t-woerner/firewalld/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz @@ -79,7 +79,8 @@ Obsoletes: firewalld-config-workstation <= 0.3.15 firewalld is a firewall service daemon that provides a dynamic customizable firewall with a D-Bus interface. -%package -n python-firewall +%package -n python2-firewall +%{?python_provide:%python_provide python2-firewall} Summary: Python2 bindings for firewalld Provides: python2-firewall Obsoletes: python2-firewall @@ -88,7 +89,7 @@ Requires: python-slip-dbus Requires: python-decorator Requires: pygobject3-base -%description -n python-firewall +%description -n python2-firewall Python2 bindings for firewalld. %if 0%{?with_python3} @@ -368,7 +369,7 @@ fi %{_mandir}/man1/firewalld*.1* %{_mandir}/man5/firewall*.5* -%files -n python-firewall +%files -n python2-firewall %attr(0755,root,root) %dir %{python2_sitelib}/firewall %attr(0755,root,root) %dir %{python2_sitelib}/firewall/config %attr(0755,root,root) %dir %{python2_sitelib}/firewall/core @@ -436,6 +437,10 @@ fi %{_mandir}/man1/firewall-config*.1* %changelog +* Sun Dec 17 2017 Zbigniew Jędrzejewski-Szmek - 0.4.4.5-4 +- Python 2 binary package renamed to python2-firewall + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Mon Jul 31 2017 Thomas Woerner - 0.4.4.5-3 - Fix spec file for next RHEL versions