--- rpms/q/contribs10/q.spec 2022/08/15 02:22:44 1.2 +++ rpms/q/contribs10/q.spec 2022/08/15 02:33:41 1.4 @@ -2,6 +2,8 @@ %define _missing_doc_files_terminate_build 0 %undefine _missing_build_ids_terminate_build %define debug_package %{nil} +%define use_date %(date "+%F") + Name: q Version: 0.8.2 Release: 2 @@ -34,7 +36,7 @@ A tiny CLI DNS client library with suppo %build -go build -ldflags="-s -w -X main.version=%{version}" +go build -ldflags="-s -w -X main.version=%{version} -X main.commit='Koozali SME Server build' -X main.date=${use_date}" %install mkdir -p %{buildroot}/usr/bin/