obsolete and provide golang-github-containers-[common|image] = %{epoch}:%{version}-%{release}

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
This commit is contained in:
Lokesh Mandvekar 2022-09-23 14:16:13 -04:00
parent e552008fb8
commit 40204168e1

View File

@ -33,8 +33,10 @@ Recommends: fuse-overlayfs
%if "%{_vendor}" != "debbuild" %if "%{_vendor}" != "debbuild"
Requires: (container-selinux >= 2:2.162.1 if selinux-policy) Requires: (container-selinux >= 2:2.162.1 if selinux-policy)
%else %else
Obsoletes: golang-github-%{name} <= 1.0 Obsoletes: golang-github-%{name} < %{epoch}:%{version}-%{release}
Obsoletes: golang-github-containers-image < %{epoch}:%{version}-%{release}
Provides: golang-github-%{name} = %{epoch}:%{version}-%{release} Provides: golang-github-%{name} = %{epoch}:%{version}-%{release}
Provides: golang-github-containers-image = %{epoch}:%{version}-%{release}
%endif %endif
Requires: oci-runtime Requires: oci-runtime
Requires: container-network-stack Requires: container-network-stack