Commit 3ccdd444 authored by Frediano Ziglio's avatar Frediano Ziglio

copr: Patch RPM Release, not Version

Version should be the product version, not ignoring completely.
Other projects too put the date in the release.
Signed-off-by: Frediano Ziglio's avatarFrediano Ziglio <>
Acked-by: Uri Lublin's avatarUri Lublin <>
parent 2ec1ad0f
Pipeline #124257 passed with stage
in 2 minutes and 1 second
......@@ -25,8 +25,8 @@ srpm:
dnf install -y `sed '/^BuildRequires:/!d; s/.*://; s/python36/python3/; s/\bspice-protocol\b//; s/>.*//' *`
# set project version
sed -i -E "s/^( +version : )'[0-9\.]+'/\\1'$$(date +'%Y%m%d%H%M.spice.latest')'/"
git add
sed -i -E "s/^(Release: +).*/\\1$$(date +'%Y%m%d%H%M.spice.latest')/"
git add
git config --local ""
git config --local "dummy"
git commit -m 'automatic version update'
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment