From cb2c90e0745534a53a2298a7da6983bb68b90f5d Mon Sep 17 00:00:00 2001 From: Petr Menšík Date: Apr 09 2019 12:16:20 +0000 Subject: Move queryfile into separate data subpackage Perf tools itself are tiny, but data file is quite big. Allow installation of just tools without data, often different data would be used. --- diff --git a/dnsperf.spec b/dnsperf.spec index 4c68646..1c70903 100644 --- a/dnsperf.spec +++ b/dnsperf.spec @@ -13,7 +13,7 @@ Summary: Benchmarking authorative and recursing DNS servers Name: dnsperf Version: 2.2.1 -Release: 2%{?dist} +Release: 3%{?dist} # New page was found, but on github is also project, that seems to be official. # # Github project has different license and so far is the only one with any @@ -48,6 +48,7 @@ BuildRequires: krb5-devel, libxml2-devel, GeoIP-devel BuildRequires: /usr/bin/pathfix.py Requires: gnuplot +Recommends: %{name}-data %if %{with python3} BuildRequires: python3-devel Requires: python3-pcapy python3-dns @@ -61,8 +62,19 @@ Requires: pcapy python2-dns This is dnsperf, a collection of DNS server performance testing tools. For more information, see the dnsperf(1) and resperf(1) man pages. +# Fixme: query example is too big, move it to noarch data file +%package data +Summary: Benchmarking authorative and recursing DNS servers data +BuildArch: noarch +Requires: %{name} = %{version}-%{release} + +%description data +This is dnsperf, a collection of DNS server performance testing tools. + +This package provides example query file to use by dnsperf and resperf tools. + %prep -%autosetup +%autosetup -p1 %build autoreconf -fi @@ -91,10 +103,15 @@ chmod 644 %{buildroot}%{_datadir}/%{name}/queryfile-example-current %license LICENSE %{_bindir}/* %{_mandir}/*/* + +%files data %dir %{_datadir}/dnsperf %{_datadir}/dnsperf/queryfile-example-current %changelog +* Tue Apr 09 2019 Petr Menšík - 2.2.1-3 +- Move large query file into separate package + * Thu Jan 31 2019 Fedora Release Engineering - 2.2.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild