--- rpms/q/contribs10/q.spec 2022/08/15 02:28:24 1.3 +++ 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} -X main.commit=72fa909c3d5da33ba4ffc96920988a9b5873427f -X main.date='2022-08-02T05:04:02Z'" +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/