* Added DNSContext.QueryStatistics method that returns the DNS
query statistics for both the upstream and fallback DNS servers
* Positional (non-flag) arguments now cause an error instead of
beingignored
* The upstream.ExchangeParallel function now consistently returns
a nil upstream in case of a DNS lookup error
* Removed DNSContext.CachedUpstreamAddr and
DNSContext.QueryDuration properties
- Packaging improvements:
* Drop autosetup -p 1 arg only needed when package has patches
* Use BuildRequires: golang(API) >= 1.23 rather than 1.23.5
(three digit) as per go.mod. Currently the Provides:
golang(API) expression is major version (two-digit) only.
* Build PIE with pattern that may become recommended procedure:
%%ifnarch ppc64 GOFLAGS="-buildmode=pie" %%endif go build
A go toolchain buildmode default config would be preferable
but none exist at this time.
* Drop mod=vendor, go1.14+ will detect vendor dir and auto-enable
* Remove go build -x output build command verbosity. Use go
default arguments absent a clear need.
* Remove go build -v output line per package verbosity. Use go
default arguments absent a clear need.
* _service obs_scm remove param match tag not needed
* %check enable tests excluding tests with network access
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/dnsproxy?expand=0&rev=77
17 lines
640 B
Plaintext
17 lines
640 B
Plaintext
<services>
|
|
<service name="obs_scm" mode="manual">
|
|
<param name="scm">git</param>
|
|
<param name="url">https://github.com/AdguardTeam/dnsproxy.git</param>
|
|
<param name="revision">v0.75.0</param>
|
|
<param name="versionrewrite-pattern">v(\d+\.\d+\.\d+)</param>
|
|
<param name="versionformat">@PARENT_TAG@</param>
|
|
<param name="versionrewrite-replacement">\1</param>
|
|
<param name="changesgenerate">enable</param>
|
|
</service>
|
|
<service name="set_version" mode="manual" />
|
|
<service name="go_modules" mode="manual">
|
|
<param name="compression">zstd</param>
|
|
</service>
|
|
<service name="tar" mode="buildtime"/>
|
|
</services>
|