Hello community, here is the log from the commit of package setools for openSUSE:Factory checked in at 2018-12-12 17:30:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/setools (Old) and /work/SRC/openSUSE:Factory/.setools.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "setools" Wed Dec 12 17:30:52 2018 rev:31 rq:657421 version:4.2.0 Changes: -------- --- /work/SRC/openSUSE:Factory/setools/setools.changes 2018-06-29 22:24:49.934554506 +0200 +++ /work/SRC/openSUSE:Factory/.setools.new.28833/setools.changes 2018-12-12 17:31:01.066684635 +0100 @@ -1,0 +2,19 @@ +Fri Dec 7 15:10:14 UTC 2018 - jsegitz@suse.com + +- Changed requires of console subpackage to python3-setools + +------------------------------------------------------------------- +Wed Nov 21 14:17:32 UTC 2018 - jsegitz@suse.com + +- Upgrade to 4.2.0 + * Support for Python 2.7 was dropped + * Symbol names are now available as the name attribute (e.g. Boolean.name, Type.name, etc.) + * Move constraint expression to its own class. + * Made Conditional.evaluate() more useful and added BaseTERule.enabled() method to determine if a rule is enabled.. + * Added support for SCTP portcons + * Updated permission maps +- Dropped warning.patch +- Single spec, limited to python3. Obsoletes python-setools, provides + python3-setools + +------------------------------------------------------------------- Old: ---- 4.1.1.tar.gz warning.patch New: ---- 4.2.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ setools.spec ++++++ --- /var/tmp/diff_new_pack.tmgjkX/_old 2018-12-12 17:31:01.770683747 +0100 +++ /var/tmp/diff_new_pack.tmgjkX/_new 2018-12-12 17:31:01.774683741 +0100 @@ -16,24 +16,29 @@ # +%{?!python_module:%define python_module() python-%{**} python3-%{**}} + +# doesn't work for python 2 +%define skip_python2 1 + Name: setools -Version: 4.1.1 +Version: 4.2.0 Release: 0 -Url: https://github.com/TresysTechnology/setools/ +Url: https://github.com/SELinuxProject/setools Summary: Policy analysis tools for SELinux License: GPL-2.0-only Group: System/Management -Source: https://github.com/TresysTechnology/setools/archive/%{version}.tar.gz -Patch0: warning.patch - -BuildRoot: %{_tmppath}/%{name}-%{version}-build +Source: https://github.com/SELinuxProject/setools/archive/%{version}.tar.gz +BuildRequires: %{python_module Cython} +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} BuildRequires: bison +BuildRequires: fdupes BuildRequires: flex BuildRequires: gcc +BuildRequires: libselinux-devel BuildRequires: libsepol-devel -BuildRequires: libsepol-devel-static -BuildRequires: python-devel -BuildRequires: python-setuptools +BuildRequires: python-rpm-macros BuildRequires: swig Requires: setools-console = %{version}-%{release} Requires: setools-gui = %{version}-%{release} @@ -45,21 +50,11 @@ This meta-package depends upon the main packages necessary to run SETools. -%package -n python-setools -Summary: Python bindings for SELinux policy analysis -License: LGPL-2.0-only -Group: Development/Languages/Python -Requires: python - -%description -n python-setools -SETools is a collection of graphical tools, command-line tools, and -libraries designed to facilitate SELinux policy analysis. - %package console Summary: Policy analysis command-line tools for SELinux License: GPL-2.0-only Group: System/Base -Requires: python-setools = %{version} +Requires: python3-setools = %{version} %description console SETools is a collection of graphical tools, command-line tools, and @@ -73,6 +68,17 @@ seinfoflow Information flow analysis tool sediff Semantic policy difference tool +%package -n python3-setools +Summary: Python bindings for SELinux policy analysis +License: LGPL-2.0-only +Group: Development/Languages/Python +Requires: python +Obsoletes: python-setools < %{version} + +%description -n python3-setools +SETools is a collection of graphical tools, command-line tools, and +libraries designed to facilitate SELinux policy analysis. + %package gui Summary: Policy analysis graphical tools for SELinux License: GPL-2.0-only @@ -92,19 +98,19 @@ %prep %setup -q -n %{name}-%{version} -%patch0 %build -python setup.py build_ext -i +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python_install +%fdupes -s %{buildroot}%{python3_sitearch} -%files -n python-setools +%files -n python3-setools %defattr(-,root,root,-) -%{python_sitearch}/setools*.egg-info -%dir %{python_sitearch}/setools -%{python_sitearch}/setools/* +%dir %{python3_sitearch}/setools/ +%{python3_sitearch}/setools/* +%{python3_sitearch}/setools*egg-info* %files console %defattr(-,root,root,-) @@ -121,8 +127,7 @@ %files gui %defattr(-,root,root,-) -%dir %{python_sitearch}/setoolsgui -%{python_sitearch}/setoolsgui/* +%{python3_sitearch}/setoolsgui* %{_bindir}/apol %{_mandir}/man1/apol.1.gz ++++++ 4.1.1.tar.gz -> 4.2.0.tar.gz ++++++ ++++ 53702 lines of diff (skipped)