Merge pull request #1220 from baude/coprgitrev

Change tarball filename in copr prepare and match short-commit length
This commit is contained in:
Brent Baude
2018-08-06 08:55:05 -05:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@ -19,4 +19,4 @@ sed "s,#COMMIT#,${COMMIT},;
contrib/spec/podman.spec.in > contrib/spec/podman.spec
mkdir build/
git archive --prefix "podman-${COMMIT_SHORT}/" --format "tar.gz" HEAD -o "build/podman-${COMMIT_SHORT}.tar.gz"
git archive --prefix "podman-${COMMIT_SHORT}/" --format "tar.gz" HEAD -o "build/libpod-${COMMIT_SHORT}.tar.gz"

View File

@ -30,7 +30,7 @@
%global import_path %{provider_prefix}
%global git0 https://%{provider}.%{provider_tld}/%{project}/%{repo}
%global commit0 #COMMIT#
%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
%global shortcommit0 %(c=%{commit0}; echo ${c:0:8})
Name: podman
Version: 0.8.2