From 117da3c0a560b232a39cf4a1fba83751205fdabeb8bfc63f26cb2c1f844b26a1 Mon Sep 17 00:00:00 2001 From: Vasily Ulyanov Date: Thu, 6 May 2021 06:20:24 +0000 Subject: [PATCH] Accepting request 890866 from home:vulyanov:branches:Virtualization - Remove meta info for virt-containers OBS-URL: https://build.opensuse.org/request/show/890866 OBS-URL: https://build.opensuse.org/package/show/Virtualization/obs-service-replace_using_env?expand=0&rev=5 --- obs-service-replace_using_env.changes | 5 +++++ obs-service-replace_using_env.spec | 8 +++----- virt-containers-meta | 17 ----------------- 3 files changed, 8 insertions(+), 22 deletions(-) delete mode 100644 virt-containers-meta diff --git a/obs-service-replace_using_env.changes b/obs-service-replace_using_env.changes index 07f55d2..610f834 100644 --- a/obs-service-replace_using_env.changes +++ b/obs-service-replace_using_env.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Apr 27 11:23:42 UTC 2021 - Vasily Ulyanov + +- Remove meta info for virt-containers + ------------------------------------------------------------------- Thu Apr 8 08:51:05 UTC 2021 - Vasily Ulyanov diff --git a/obs-service-replace_using_env.spec b/obs-service-replace_using_env.spec index 8a16e2b..2a9ff23 100644 --- a/obs-service-replace_using_env.spec +++ b/obs-service-replace_using_env.spec @@ -25,8 +25,7 @@ URL: https://build.opensuse.org/ Source0: replace_using_env Source1: replace_using_env.service Source2: README -Source3: virt-containers-meta -Source4: LICENSE +Source3: LICENSE Requires: bash Requires: sed BuildArch: noarch @@ -37,15 +36,14 @@ in the specified files with the values from the build environment. %prep cp %{SOURCE2} . -cp %{SOURCE4} . +cp %{SOURCE3} . %build %install -mkdir -p %{buildroot}%{_prefix}/lib/obs/service/meta +mkdir -p %{buildroot}%{_prefix}/lib/obs/service install -m 0755 %{SOURCE0} %{buildroot}%{_prefix}/lib/obs/service install -m 0644 %{SOURCE1} %{buildroot}%{_prefix}/lib/obs/service -install -m 0755 %{SOURCE3} %{buildroot}%{_prefix}/lib/obs/service/meta %files %license LICENSE diff --git a/virt-containers-meta b/virt-containers-meta deleted file mode 100644 index 210b46a..0000000 --- a/virt-containers-meta +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash - -distro=$(rpm --eval '%{?sle_version}:%{?is_opensuse}%{!?is_opensuse:0}') -case "${distro}" in -150200:0) - TAGPREFIX=suse/sles/15.2 - LABELPREFIX=com.suse.kubevirt - ;; -150300:0) - TAGPREFIX=suse/sles/15.3 - LABELPREFIX=com.suse.kubevirt - ;; -*) - TAGPREFIX=kubevirt - LABELPREFIX=org.opensuse.kubevirt - ;; -esac