From d46175da15314d0795c529055d2ba3a2867bd309 Mon Sep 17 00:00:00 2001 From: Joe Doss Date: Oct 08 2020 15:58:19 +0000 Subject: Disable contrib/dns-hatchet/apply.sh on Fedora 33+ and RHEL9+ --- diff --git a/wireguard-tools.spec b/wireguard-tools.spec index 67ed5fe..5705076 100644 --- a/wireguard-tools.spec +++ b/wireguard-tools.spec @@ -1,6 +1,6 @@ Name: wireguard-tools Version: 1.0.20200827 -Release: 1%{?dist} +Release: 2%{?dist} URL: https://www.wireguard.com/ Summary: Fast, modern, secure VPN tunnel License: GPLv2 @@ -29,9 +29,11 @@ This package provides the wg binary for controlling WireGuard. %set_build_flags ## Start DNS Hatchet +%if (0%{?fedora} && 0%{?fedora} < 33) || (0%{?rhel} && 0%{?rhel} < 9) pushd contrib/dns-hatchet ./apply.sh popd +%endif ## End DNS Hatchet %make_build RUNSTATEDIR=%{_rundir} -C src @@ -54,6 +56,9 @@ WITH_BASHCOMPLETION=yes WITH_WGQUICK=yes WITH_SYSTEMDUNITS=yes -C src %{_mandir}/man8/wg-quick.8* %changelog +* Fri Oct 02 2020 Joe Doss - 1.0.20200827-2 +- Disable contrib/dns-hatchet/apply.sh on Fedora 33+ and RHEL9+ + * Sat Aug 29 2020 Joe Doss - 1.0.20200827-1 - Update to 1.0.20200827 - wg-quick: android: use iproute2 to bring up interface instead of ndc