https://bugzilla.redhat.com/show_bug.cgi?id=2391155



--- Comment #8 from Robby Callicotte <[email protected]> ---
(In reply to Neal Gompa from comment #6)
> > export LDFLAGS="-X %{goipath}.version=%{version}"
> 
> This should probably be "%{version}-%{release}".

After compiled, this will show up like below:
<mock-chroot> sh-5.3# ./umoci -v
umoci version 0.5.0-1.fc44

This appears to be somewhat similar to how the Open Suse package is built:
> export VERSION="$(cat ./VERSION)"
> if [ "$VERSION" != "%{version}" ]; then
>   # Append "_suse" if the version is not an upstream one.
>   VERSION="%{version}_suse"
> fi


-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
https://bugzilla.redhat.com/show_bug.cgi?id=2391155

Report this comment as SPAM: 
https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202391155%23c8

-- 
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to