!200 add the dependency between packages
From: @likou2022 Reviewed-by: @HuaxinLuGitee Signed-off-by: @HuaxinLuGitee
This commit is contained in:
commit
8da98836b0
@ -12,7 +12,7 @@
|
||||
Summary: SELinux policy configuration
|
||||
Name: selinux-policy
|
||||
Version: 3.14.2
|
||||
Release: 77
|
||||
Release: 79
|
||||
License: GPLv2+
|
||||
URL: https://github.com/fedora-selinux/selinux-policy/
|
||||
|
||||
@ -120,6 +120,9 @@ BuildRequires: python3 gawk checkpolicy >= %{CHECKPOLICYVER} m4 policycoreutils
|
||||
Requires(pre): policycoreutils >= %{POLICYCOREUTILSVER}
|
||||
Requires(post): /bin/awk /usr/bin/sha512sum
|
||||
Requires: rpm-plugin-selinux
|
||||
Requires: selinux-policy-any = %{version}-%{release}
|
||||
Provides: selinux-policy-base = %{version}-%{release}
|
||||
Suggests: selinux-policy-targeted
|
||||
|
||||
%description
|
||||
SELinux Base package for SELinux Reference Policy - modular.
|
||||
@ -492,6 +495,7 @@ exit 0
|
||||
|
||||
%package devel
|
||||
Summary: SELinux policy devel
|
||||
Requires(pre): selinux-policy = %{version}-%{release}
|
||||
Requires: selinux-policy = %{version}-%{release} m4 checkpolicy >= %{CHECKPOLICYVER} /usr/bin/make
|
||||
Requires(post): policycoreutils-devel >= %{POLICYCOREUTILSVER}
|
||||
|
||||
@ -531,7 +535,7 @@ Summary: SELinux targeted base policy
|
||||
Requires(pre): policycoreutils >= %{POLICYCOREUTILSVER} coreutils selinux-policy = %{version}-%{release}
|
||||
Requires: selinux-policy = %{version}-%{release}
|
||||
|
||||
Provides: selinux-policy-base = %{version}-%{release}
|
||||
Provides: selinux-policy-any = %{version}-%{release}
|
||||
Obsoletes: selinux-policy-targeted-sources < 2
|
||||
Obsoletes: mod_fcgid-selinux <= %{version}-%{release}
|
||||
Obsoletes: cachefilesd-selinux <= 0.10-1
|
||||
@ -616,7 +620,7 @@ Requires(pre): coreutils selinux-policy = %{version}-%{release}
|
||||
Requires(post): policycoreutils-python-utils >= %{POLICYCOREUTILSVER}
|
||||
Requires: selinux-policy = %{version}-%{release}
|
||||
|
||||
Provides: selinux-policy-base = %{version}-%{release}
|
||||
Provides: selinux-policy-any = %{version}-%{release}
|
||||
Conflicts: seedit
|
||||
Conflicts: container-selinux <= 1.9.0-9
|
||||
|
||||
@ -715,9 +719,9 @@ exit 0
|
||||
%package mls
|
||||
Summary: SELinux mls base policy
|
||||
Requires: policycoreutils-newrole >= %{POLICYCOREUTILSVER} setransd selinux-policy = %{version}-%{release}
|
||||
Requires(pre): policycoreutils >= %{POLICYCOREUTILSVER} coreutils
|
||||
Requires(pre): policycoreutils >= %{POLICYCOREUTILSVER} coreutils selinux-policy = %{version}-%{release}
|
||||
|
||||
Provides: selinux-policy-base = %{version}-%{release}
|
||||
Provides: selinux-policy-any = %{version}-%{release}
|
||||
Obsoletes: selinux-policy-mls-sources < 2
|
||||
Conflicts: seedit
|
||||
Conflicts: container-selinux <= 1.9.0-9
|
||||
@ -779,6 +783,12 @@ exit 0
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Sat Dec 24 2022 lixiao<lixiaoemail2017@163.com> - 3.14.2-79
|
||||
- add the dependency between packages
|
||||
|
||||
* Fri Dec 23 2022 lixiao<lixiaoemail2017@163.com> - 3.14.2-78
|
||||
- add weak dep of selinux-policy-targeted
|
||||
|
||||
* Sat Jun 25 2022 luhuaxin <luhuaxin1@huawei.com> - 3.14.2-77
|
||||
- allow httpd create files in /etc/httpd
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user