diff --git a/openvpn.spec b/openvpn.spec index d617034..32ddbb2 100644 --- a/openvpn.spec +++ b/openvpn.spec @@ -107,12 +107,12 @@ to similar features as the various script-hooks. %prep gpgv2 --quiet --keyring %{SOURCE10} %{SOURCE1} %{SOURCE0} %setup -q -n %{name}-%{version} -%patch1 -p1 +%patch -P 1 -p1 %if 0%{?rhel} > 7 || 0%{?fedora} > 34 # The crypto-policy patch is only valid on RHEL-8 and newer plus Fedora -%patch2 -p1 +%patch -P 2 -p1 %endif -%patch50 -p1 +%patch -P 50 -p1 # %%doc items shouldn't be executable. find contrib sample -type f -perm /100 \ @@ -250,8 +250,9 @@ getent passwd openvpn &>/dev/null || \ %changelog -* Wed Aug 16 2023 Frank Lichtenheld - 2.6.6-1 +* Mon Aug 21 2023 Frank Lichtenheld - 2.6.6-1 - Update to upstream OpenVPN 2.6.6 +- Fix "warning: %patchN is deprecated" * Thu Jul 20 2023 Fedora Release Engineering - 2.6.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild