update Version field per changes in rpm autobuilder
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
This commit is contained in:
parent
49a8b59d81
commit
b25bea1555
@ -3,11 +3,7 @@
|
|||||||
# container-selinux
|
# container-selinux
|
||||||
%global git0 https://github.com/containers/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 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.)
|
# container-selinux stuff (prefix with ds_ for version/release etc.)
|
||||||
# Some bits borrowed from the openstack-selinux package
|
# Some bits borrowed from the openstack-selinux package
|
||||||
@ -23,7 +19,7 @@
|
|||||||
# Hooked up to autobuilder, please check with @lsm5 before updating
|
# Hooked up to autobuilder, please check with @lsm5 before updating
|
||||||
Name: container-selinux
|
Name: container-selinux
|
||||||
Epoch: 2
|
Epoch: 2
|
||||||
Version: %{gen_version}
|
Version: 2.187.0
|
||||||
Release: %autorelease
|
Release: %autorelease
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
URL: %{git0}
|
URL: %{git0}
|
||||||
@ -52,7 +48,7 @@ Conflicts: k3s-selinux <= 0.4-1
|
|||||||
SELinux policy modules for use with container runtimes.
|
SELinux policy modules for use with container runtimes.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -Sgit -n %{name}-%{built_tag_strip}
|
%autosetup -Sgit
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make
|
make
|
||||||
@ -115,6 +111,5 @@ if %{_sbindir}/selinuxenabled ; then
|
|||||||
%{_sbindir}/restorecon -R /home/*/.local/share/containers/storage/overlay* 2> /dev/null
|
%{_sbindir}/restorecon -R /home/*/.local/share/containers/storage/overlay* 2> /dev/null
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
%autochangelog
|
%autochangelog
|
||||||
|
Loading…
Reference in New Issue
Block a user