correct Source0 if centos
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
This commit is contained in:
parent
654515c525
commit
e87f128825
@ -41,7 +41,11 @@ Release: 10.git%{shortcommit0}%{?dist}
|
|||||||
License: GPLv2
|
License: GPLv2
|
||||||
URL: %{git0}
|
URL: %{git0}
|
||||||
Summary: SELinux policies for container runtimes
|
Summary: SELinux policies for container runtimes
|
||||||
|
%if 0%{?fedora} || 0%{?rhel} >7
|
||||||
Source0: %{git0}/archive/%{commit0}/%{name}-%{shortcommit0}.tar.gz
|
Source0: %{git0}/archive/%{commit0}/%{name}-%{shortcommit0}.tar.gz
|
||||||
|
%else
|
||||||
|
Source0: %{git0}/archive/%{el_commit0}/%{name}-%{shortcommit0}.tar.gz
|
||||||
|
%endif
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: git
|
BuildRequires: git
|
||||||
BuildRequires: pkgconfig(systemd)
|
BuildRequires: pkgconfig(systemd)
|
||||||
|
Loading…
Reference in New Issue
Block a user