diff --git a/openvpn.changes b/openvpn.changes index 8b57bce..711fefd 100644 --- a/openvpn.changes +++ b/openvpn.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jan 22 16:35:27 UTC 2025 - Dominique Leuenberger + +- Drop rcFOO symlinks for CODE16 (PED-266). + ------------------------------------------------------------------- Fri Dec 20 08:13:18 UTC 2024 - Jan Engelhardt diff --git a/openvpn.spec b/openvpn.spec index 74fb773..6ce6110 100644 --- a/openvpn.spec +++ b/openvpn.spec @@ -1,7 +1,7 @@ # # spec file for package openvpn # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -169,7 +169,9 @@ rm %{buildroot}%{_libdir}/systemd/system/openvpn-server@.service rm %{buildroot}%{_libdir}/tmpfiles.d/openvpn.conf install -D -m 644 %{name}.service %{buildroot}/%{_unitdir}/%{name}@.service install -D -m 644 %{SOURCE9} %{buildroot}/%{_unitdir}/%{name}.target +%if 0%{?suse_version} < 1600 install -D -m 755 %{SOURCE11} %{buildroot}%{_sbindir}/rc%{name} +%endif # tmpfiles.d mkdir -p %{buildroot}%{_tmpfilesdir} install -m 0644 %{SOURCE10} %{buildroot}%{_tmpfilesdir}/%{name}.conf @@ -212,7 +214,9 @@ find sample -name .gitignore -delete %{_unitdir}/%{name}.target %{_tmpfilesdir}/%{name}.conf %dir %attr(0750,root,root) %ghost %{_rundir}/openvpn/ +%if 0%{?suse_version} < 1600 %{_sbindir}/rcopenvpn +%endif %{_sbindir}/openvpn %files down-root-plugin