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: 1 |
Release: 2 |
10 |
License: GNU GPL-3.0 |
License: GNU GPL-3.0 |
11 |
Group: DNS |
Group: DNS |
12 |
Summary: A tiny CLI DNS client library with support for UDP, TCP, DoT, DoH, and DoQ. |
Summary: A tiny CLI DNS client library with support for UDP, TCP, DoT, DoH, and DoQ. |
36 |
|
|
37 |
|
|
38 |
%build |
%build |
39 |
ls -al |
go build -ldflags="-s -w -X main.version=%{version} -X main.commit='Koozali SME Server build' -X main.date=${use_date}" |
|
go build -x |
|
40 |
|
|
41 |
%install |
%install |
42 |
mkdir -p %{buildroot}/usr/bin/ |
mkdir -p %{buildroot}/usr/bin/ |
47 |
|
|
48 |
|
|
49 |
%changelog |
%changelog |
50 |
* Sun Aug 14 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.8.2-1.sme |
* Sun Aug 14 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.8.2-2.sme |
51 |
- initial import in SME 10 contribs |
- initial import in SME 10 contribs |
52 |
|
|