Python 2 binary package renamed to python2-firewall

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2017-12-17 13:05:18 -05:00
parent 1577a1a931
commit d6aa9a2c01

View File

@ -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 <zbyszek@in.waw.pl> - 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 <twoerner@redhat.com> - 0.4.4.5-3
- Fix spec file for next RHEL versions