| |
@@ -71,7 +71,7 @@
|
| |
BuildRequires: systemd-rpm-macros
|
| |
Requires(pre): policycoreutils >= %{POLICYCOREUTILSVER}
|
| |
Requires(post): /bin/awk /usr/bin/sha512sum
|
| |
- Requires(meta): rpm-plugin-selinux
|
| |
+ Requires(meta): (rpm-plugin-selinux if rpm-libs)
|
| |
Requires: selinux-policy-any = %{version}-%{release}
|
| |
Provides: selinux-policy-base = %{version}-%{release}
|
| |
Suggests: selinux-policy-targeted
|
| |
We support two ways to update the operating system:
/usr/bin/rpm
(anddnf
etc.) where SELinux labels arecomputed and written client side
were computed server side.
In the ostree case, I'd like the ability to generate smaller
images that do not even have
rpm
installed.This dependency is the primary blocker to that. Now that
RPM supports these "alternative" conditionals, it's easy to do.
(TODO: Maybe this would actually also make sense in the RPM package;
we could do
Requires: (rpm-plugin-selinux if selinux-policy)
perhaps?)