From b25bea1555154dbc48b23e8dfd57fceae5f655e4 Mon Sep 17 00:00:00 2001 From: Lokesh Mandvekar Date: Fri, 27 May 2022 13:27:20 -0400 Subject: [PATCH] update Version field per changes in rpm autobuilder Signed-off-by: Lokesh Mandvekar --- container-selinux.spec | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/container-selinux.spec b/container-selinux.spec index ab255b3..b1d9564 100644 --- a/container-selinux.spec +++ b/container-selinux.spec @@ -3,11 +3,7 @@ # container-selinux %global git0 https://github.com/containers/container-selinux -# Used for comparing with latest upstream tag -# to decide whether to autobuild %global built_tag v2.187.0 -%global built_tag_strip %(b=%{built_tag}; echo ${b:1}) -%global gen_version %(b=%{built_tag_strip}; echo ${b/-/"~"}) # container-selinux stuff (prefix with ds_ for version/release etc.) # Some bits borrowed from the openstack-selinux package @@ -23,7 +19,7 @@ # Hooked up to autobuilder, please check with @lsm5 before updating Name: container-selinux Epoch: 2 -Version: %{gen_version} +Version: 2.187.0 Release: %autorelease License: GPLv2 URL: %{git0} @@ -52,7 +48,7 @@ Conflicts: k3s-selinux <= 0.4-1 SELinux policy modules for use with container runtimes. %prep -%autosetup -Sgit -n %{name}-%{built_tag_strip} +%autosetup -Sgit %build make @@ -115,6 +111,5 @@ if %{_sbindir}/selinuxenabled ; then %{_sbindir}/restorecon -R /home/*/.local/share/containers/storage/overlay* 2> /dev/null fi - %changelog %autochangelog