correct Source0 if centos

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
This commit is contained in:
Lokesh Mandvekar 2018-04-16 15:59:39 -04:00
parent 654515c525
commit e87f128825

View File

@ -41,7 +41,11 @@ Release: 10.git%{shortcommit0}%{?dist}
License: GPLv2
URL: %{git0}
Summary: SELinux policies for container runtimes
%if 0%{?fedora} || 0%{?rhel} >7
Source0: %{git0}/archive/%{commit0}/%{name}-%{shortcommit0}.tar.gz
%else
Source0: %{git0}/archive/%{el_commit0}/%{name}-%{shortcommit0}.tar.gz
%endif
BuildArch: noarch
BuildRequires: git
BuildRequires: pkgconfig(systemd)