Use similar macros as other podman-related packages
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
This commit is contained in:
parent
a73e688038
commit
916aae2515
@ -3,7 +3,7 @@
|
||||
# container-selinux
|
||||
%global git0 https://github.com/containers/container-selinux
|
||||
|
||||
%global built_tag v2.189.0
|
||||
%global built_tag_strip 2.189.0
|
||||
|
||||
# container-selinux stuff (prefix with ds_ for version/release etc.)
|
||||
# Some bits borrowed from the openstack-selinux package
|
||||
@ -24,7 +24,7 @@ Release: %autorelease
|
||||
License: GPLv2
|
||||
URL: %{git0}
|
||||
Summary: SELinux policies for container runtimes
|
||||
Source0: %{git0}/archive/%{built_tag}.tar.gz
|
||||
Source0: %{git0}/archive/v%{built_tag_strip}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRequires: make
|
||||
BuildRequires: git-core
|
||||
@ -48,7 +48,7 @@ Conflicts: k3s-selinux <= 0.4-1
|
||||
SELinux policy modules for use with container runtimes.
|
||||
|
||||
%prep
|
||||
%autosetup -Sgit
|
||||
%autosetup -Sgit %{name}-%{built_tag_strip}
|
||||
|
||||
%build
|
||||
make
|
||||
|
Loading…
Reference in New Issue
Block a user