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