Skip to content

Commit 8b10221

Browse files
vmojzisbachradsusi
authored andcommitted
python/sepolicy: Fix spec file dependencies
semanage is part of policycoreutils-python-utils package, selinuxenabled is part of libselinux-utils (required by ^^^) and restorecon/load_policy are part of policycoreutils (also required by policycoreutils-python-utils). Signed-off-by: Vit Mojzis <vmojzis@redhat.com>
1 parent 2b85ddf commit 8b10221

File tree

1 file changed

+7
-5
lines changed
  • python/sepolicy/sepolicy/templates

1 file changed

+7
-5
lines changed

python/sepolicy/sepolicy/templates/spec.py

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,20 @@
1111
Release: 1%{?dist}
1212
Summary: SELinux policy module for MODULENAME
1313
14-
Group: System Environment/Base
15-
License: GPLv2+
14+
Group: System Environment/Base
15+
License: GPLv2+
1616
# This is an example. You will need to change it.
17+
# For a complete guide on packaging your policy
18+
# see https://fedoraproject.org/wiki/SELinux/IndependentPolicy
1719
URL: http://HOSTNAME
1820
Source0: MODULENAME.pp
1921
Source1: MODULENAME.if
2022
Source2: DOMAINNAME_selinux.8
2123
Source3: DOMAINNAME_u
2224
23-
Requires: policycoreutils, libselinux-utils
24-
Requires(post): selinux-policy-base >= %{selinux_policyver}, policycoreutils
25-
Requires(postun): policycoreutils
25+
Requires: policycoreutils-python-utils, libselinux-utils
26+
Requires(post): selinux-policy-base >= %{selinux_policyver}, policycoreutils-python-utils
27+
Requires(postun): policycoreutils-python-utils
2628
"""
2729

2830
mid_section="""\

0 commit comments

Comments
 (0)