2 |
%define _missing_doc_files_terminate_build 0 |
%define _missing_doc_files_terminate_build 0 |
3 |
%undefine _missing_build_ids_terminate_build |
%undefine _missing_build_ids_terminate_build |
4 |
%define debug_package %{nil} |
%define debug_package %{nil} |
5 |
|
%define use_date %(date "+%F") |
6 |
|
|
7 |
Name: q |
Name: q |
8 |
Version: 0.8.2 |
Version: 0.8.2 |
9 |
Release: 2 |
Release: 2 |
36 |
|
|
37 |
|
|
38 |
%build |
%build |
39 |
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}" |
40 |
|
|
41 |
%install |
%install |
42 |
mkdir -p %{buildroot}/usr/bin/ |
mkdir -p %{buildroot}/usr/bin/ |