diff --git a/wireguard-tools.changes b/wireguard-tools.changes index e4d3040..1285304 100644 --- a/wireguard-tools.changes +++ b/wireguard-tools.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Feb 20 15:21:49 UTC 2024 - Dominique Leuenberger + +- Use %autosetup macro. Allows to eliminate the usage of deprecated + %patchN + ------------------------------------------------------------------- Fri Oct 20 13:16:54 UTC 2023 - Frederic Crozat diff --git a/wireguard-tools.spec b/wireguard-tools.spec index e9ccdd4..9c13688 100644 --- a/wireguard-tools.spec +++ b/wireguard-tools.spec @@ -47,8 +47,8 @@ WireGuard kernel module. Currently, it provides only a single tool: wg: set and retrieve configuration of WireGuard interfaces %prep -%setup -q -n wireguard-tools-%{version} -%patch1 -p1 +%autosetup -p1 -n wireguard-tools-%{version} + ## HACK: Fixing wg-quick's DNS= directive with a hatchet contrib/dns-hatchet/apply.sh