forked from pool/libcontainers-common
Make libcontainers-common require libcontainers-policy and leave it for the distro to pick
OBS-URL: https://build.opensuse.org/package/show/devel:microos/libcontainers-common?expand=0&rev=22
This commit is contained in:
parent
1523b23770
commit
d025e7c732
@ -57,8 +57,7 @@ Requires(post): %{_bindir}/grep
|
||||
Requires(post): %{_bindir}/sed
|
||||
# add SLE-specific mounts for only SLES systems
|
||||
Requires: (libcontainers-sles-mounts if sles-release)
|
||||
Requires: (libcontainers-openSUSE-policy if openSUSE-release)
|
||||
Requires: (libcontainers-default-policy if sles-release)
|
||||
Requires: libcontainers-policy >= %{version}
|
||||
Provides: libcontainers-image = %{version}
|
||||
Provides: libcontainers-storage = %{version}
|
||||
Obsoletes: libcontainers-image < %{version}
|
||||
@ -76,22 +75,24 @@ Summary: Default mounts for SLE distributions
|
||||
Updates /etc/containers/mounts.conf with default mounts for SLE distributions
|
||||
|
||||
%package -n libcontainers-openSUSE-policy
|
||||
Summary: Enforce image verification for BCI
|
||||
Summary: Policy to enforce image verification for SLE BCI
|
||||
Provides: libcontainers-policy = %{version}-%{release}
|
||||
|
||||
RemovePathPostfixes: .openSUSE
|
||||
Conflicts: libcontainers-default-policy
|
||||
|
||||
%description -n libcontainers-openSUSE-policy
|
||||
Updates /etc/containers/policy.json with configuration that enforces image verification for SLE BCI
|
||||
This package ships a /etc/containers/policy.json which enforces image verification for SLE BCI.
|
||||
|
||||
%package -n libcontainers-default-policy
|
||||
Summary: Disable image verification for BCI
|
||||
Summary: Default containers policy.json
|
||||
Provides: libcontainers-policy = %{version}-%{release}
|
||||
|
||||
RemovePathPostfixes: .default
|
||||
Conflicts: libcontainers-openSUSE-policy
|
||||
|
||||
%description -n libcontainers-default-policy
|
||||
Disables image verification for BCI
|
||||
This package ships the default /etc/containers/policy.json
|
||||
|
||||
%prep
|
||||
%setup -q -Tcq -b0 -b1 -b8
|
||||
|
Loading…
x
Reference in New Issue
Block a user