aboutsummaryrefslogtreecommitdiff
path: root/contrib/spec
diff options
context:
space:
mode:
authorbaude <bbaude@redhat.com>2018-02-28 13:07:58 -0600
committerbaude <bbaude@redhat.com>2018-02-28 13:08:35 -0600
commit45478b78434224f7686172959ce3d82858746758 (patch)
treec3a1aeb19f527aebdc67a4460bdaf2a10fdd191f /contrib/spec
parent2a59653bf3d5230a8be1a20ed9fcf53a185afba3 (diff)
downloadpodman-45478b78434224f7686172959ce3d82858746758.tar.gz
podman-45478b78434224f7686172959ce3d82858746758.tar.bz2
podman-45478b78434224f7686172959ce3d82858746758.zip
Re-enable copr builds
New structure for copr builds which hopefully is more stable Signed-off-by: baude <bbaude@redhat.com>
Diffstat (limited to 'contrib/spec')
-rw-r--r--contrib/spec/podman.spec.in (renamed from contrib/spec/podman.spec)6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/spec/podman.spec b/contrib/spec/podman.spec.in
index 11e8aa3fb..590a6a21a 100644
--- a/contrib/spec/podman.spec
+++ b/contrib/spec/podman.spec.in
@@ -40,7 +40,7 @@
# https://github.com/projectatomic/libpod
%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
%global import_path %{provider_prefix}
-%global commit 367213a3943961126c6f7c1dce45c7fafea9e6b2
+%global commit #COMMIT#
%global shortcommit %(c=%{commit}; echo ${c:0:7})
Name: podman
@@ -49,7 +49,7 @@ Release: git%{shortcommit}%{?dist}
Summary: Manage Pods, Containers and Container Images
License: ASL 2.0
URL: https://%{provider_prefix}
-Source0: https://%{provider_prefix}/%{version}.tar.gz
+Source0: https://%{provider_prefix}/podman-%{shortcommit}.tar.gz
# e.g. el6 has ppc64 arch without gcc-go, so EA tag is required
#ExclusiveArch: %%{?go_arches:%%{go_arches}}%%{!?go_arches:%%{ix86} x86_64 aarch64 %%{arm}}
@@ -347,7 +347,7 @@ providing packages with %{import_path} prefix.
%endif
%prep
-%autosetup -Sgit
+%autosetup -Sgit -n podman-%{shortcommit}
sed -i '/\/bin\/bash/d' completions/bash/%{name}
%build