Python 2 binary package renamed to python2-setools

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2017-08-12 09:06:58 -04:00
parent 5739cf73a2
commit be3765e54a
1 changed files with 12 additions and 4 deletions

View File

@ -11,7 +11,7 @@
Name: setools
Version: 4.1.1
Release: 2%{?setools_pre_ver:.%{setools_pre_ver}}%{?dist}
Release: 3%{?setools_pre_ver:.%{setools_pre_ver}}%{?dist}
Summary: Policy analysis tools for SELinux
License: GPLv2
@ -77,11 +77,15 @@ This package includes the following console tools:
seinfoflow Perform information flow analyses.
%package python
%package -n python2-setools
Summary: Policy analysis tools for SELinux
Recommends: libselinux-python
%{?python_provide:%python_provide python2-setools}
# Remove before F30
Provides: %{name}-python%{?_isa} = %{version}-%{release}
Obsoletes: %{name}-python < %{version}-%{release}
%description python
%description -n python2-setools
SETools is a collection of graphical tools, command-line tools, and
Python 2 modules designed to facilitate SELinux policy analysis.
@ -157,7 +161,7 @@ popd
%{_mandir}/man1/sedta*
%{_mandir}/man1/seinfoflow*
%files python
%files -n python2-setools
# %doc AUTHORS ChangeLog KNOWN-BUGS NEWS README
%license COPYING COPYING.GPL COPYING.LGPL
# For noarch packages: sitelib
@ -178,6 +182,10 @@ popd
%{_mandir}/man1/apol*
%changelog
* Thu Aug 10 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 4.1.1-3
- Python 2 binary package renamed to python2-setools
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
* Thu Aug 10 2017 Petr Lautrbach <plautrba@redhat.com> - 4.1.1-2
- bswap_* macros are defined in byteswap.h