Compare commits

...

1 Commits
rawhide ... f27

Author SHA1 Message Date
Petr Lautrbach 9b76dffc0c setools-python requires python-enum34
Fixes:
>>> import setools
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib64/python2.7/site-packages/setools/__init__.py", line 31, in <module>
    from . import policyrep
  File "/usr/lib64/python2.7/site-packages/setools/policyrep/__init__.py", line 26, in <module>
    from .bounds import BoundsRuletype
  File "/usr/lib64/python2.7/site-packages/setools/policyrep/bounds.py", line 24, in <module>
    from .util import PolicyEnum
  File "/usr/lib64/python2.7/site-packages/setools/policyrep/util.py", line 21, in <module>
    from enum import Enum
ImportError: No module named enum
2017-09-04 18:19:39 +02:00
1 changed files with 5 additions and 1 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
@ -80,6 +80,7 @@ This package includes the following console tools:
%package python
Summary: Policy analysis tools for SELinux
Recommends: libselinux-python
Requires: python-enum34
%description python
SETools is a collection of graphical tools, command-line tools, and
@ -178,6 +179,9 @@ popd
%{_mandir}/man1/apol*
%changelog
* Mon Sep 04 2017 Petr Lautrbach <plautrba@redhat.com> - 4.1.1-3
- setools-python requires python-enum34
* Thu Aug 10 2017 Petr Lautrbach <plautrba@redhat.com> - 4.1.1-2
- bswap_* macros are defined in byteswap.h