aboutgitcodebugslistschat
path: root/contrib
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2022-10-10 10:35:47 +0200
committerStefano Brivio <sbrivio@redhat.com>2022-10-15 02:10:28 +0200
commite23024ccfff661ad5aee7c122a1833a103fbb971 (patch)
tree141f6d4bdb54532dc469bab272a2c945e12612c9 /contrib
parent2074b332f9c6d533c7adb46491b3a4b7461cc110 (diff)
downloadpasst-e23024ccfff661ad5aee7c122a1833a103fbb971.tar
passt-e23024ccfff661ad5aee7c122a1833a103fbb971.tar.gz
passt-e23024ccfff661ad5aee7c122a1833a103fbb971.tar.bz2
passt-e23024ccfff661ad5aee7c122a1833a103fbb971.tar.lz
passt-e23024ccfff661ad5aee7c122a1833a103fbb971.tar.xz
passt-e23024ccfff661ad5aee7c122a1833a103fbb971.tar.zst
passt-e23024ccfff661ad5aee7c122a1833a103fbb971.zip
conf, log, Makefile: Add versioning information
Add a --version option displaying that, and also include this information in the log files. Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'contrib')
-rw-r--r--contrib/fedora/passt.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/fedora/passt.spec b/contrib/fedora/passt.spec
index bd60650..7f67bee 100644
--- a/contrib/fedora/passt.spec
+++ b/contrib/fedora/passt.spec
@@ -49,7 +49,7 @@ This package adds SELinux enforcement to passt(1) and pasta(1).
%build
%set_build_flags
-%make_build
+%make_build VERSION="%{version}-%{release}.%{_arch}"
%install
%make_install DESTDIR=%{buildroot} prefix=%{_prefix} bindir=%{_bindir} mandir=%{_mandir} docdir=%{_docdir}/%{name}