Hi,

there is a minor bug in openvpn.spec (v2.0_beta19). In the %files
section the init script is always taken from /etc/rc.d/init.d instead
of /etc/init.d in case of a SuSE distribution. This results in an
rpm build error on SuSE systems.

The appended patch should fix this.

Regards,

Stefan
--- openvpn.spec.19     2004-12-03 10:56:30.000000000 +0100
+++ openvpn.spec        2004-12-03 10:57:28.000000000 +0100
@@ -91,7 +91,11 @@
 %{_sbindir}/%{name}
 %{_datadir}/%{name}
 %dir /etc/%{name}
+%if "%{VENDOR}" == "SuSE"
+/etc/init.d/%{name}
+%else
 /etc/rc.d/init.d/%{name}
+%endif

 %changelog

Reply via email to