diff --git a/.gitignore b/.gitignore index 1efbda2..dd2c5d9 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ dnsperf-src-1.0.1.0-1.tar.gz /queryfile-example-current.gz /dnsperf-src-2.1.0.0-1.tar.gz /dnsperf-2.2.0.tar.gz +/queryfile-example-current.xz diff --git a/dnsperf.spec b/dnsperf.spec index 66f01c9..34bb80d 100644 --- a/dnsperf.spec +++ b/dnsperf.spec @@ -34,12 +34,13 @@ License: ASL 2.0 Url: https://www.dns-oarc.net/tools/dnsperf Source: https://github.com/DNS-OARC/dnsperf/archive/%{gittag}/%{name}-%{version}.tar.gz -Source1: queryfile-example-current.gz +Source1: queryfile-example-current.xz Patch1: dnsperf-nolicense.patch BuildRequires: bind-devel >= 9.10.0, gcc, make BuildRequires: autoconf automake libtool +BuildRequires: xz # Following are (incomplete dependencies of bind-devel) # since 9.11.5 should provides all in requires, leave these for compatibility BuildRequires: libcap-devel, gzip, openssl-devel @@ -83,7 +84,7 @@ install -D -m 644 contrib/queryparse/queryparse.1 %{buildroot}/%{_mandir}/man1/q gzip %{buildroot}/%{_mandir}/man1/queryparse.1 mkdir -p %{buildroot}%{_datadir}/%{name} -gunzip -c %{SOURCE1} > %{buildroot}%{_datadir}/%{name}/queryfile-example-current +xzcat %{SOURCE1} > %{buildroot}%{_datadir}/%{name}/queryfile-example-current chmod 644 %{buildroot}%{_datadir}/%{name}/queryfile-example-current %files diff --git a/sources b/sources index 9bcb27f..a9b0824 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (queryfile-example-current.gz) = b679332a6e8d51d3dd4fc149d62f4362d513ad3430859debaa5d025b1d3cb122d07880b7785e0f33181cf4e68216b0dbeeeb47b4d588ba263b68540d22581ff8 +SHA512 (queryfile-example-current.xz) = ef543f8aeb34a6bcebd67e20dc7f3099b2c47b14b0df2803b2321613d0d09d2027af99e5f5f1bce015a2a480a57562b2c1d160c939a29bfa40305798deba2c74 SHA512 (dnsperf-2.2.0.tar.gz) = 0dcad4a50b5fd312039bbf2bb33e0c514405b7d71da8f42e6856ee4cc303c0f1613c5514d17c2977f18b13b04c973b0566c76d090a5735720c682c80b03d9426