[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Web openvpn.net

[Openvpn-devel] bugfix: SuSE handling in openvpn.spec

  • Subject: [Openvpn-devel] bugfix: SuSE handling in openvpn.spec
  • From: Stefan Engel <mail@xxxxxxxxxxxxxxx>
  • Date: Fri, 03 Dec 2004 15:08:14 +0100


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.


--- 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 @@
 %dir /etc/%{name}
+%if "%{VENDOR}" == "SuSE"