hi,
here is my small patch for the spec.in file in order not to overwrite
the old config files.
--- openvpn.spec.in.lfarkas 2004-03-31 18:11:14.000000000 +0200
+++ openvpn.spec.in 2004-03-31 18:13:25.000000000 +0200
@@ -34,9 +34,9 @@
%__install -c -m 755 %{name}.8 %{buildroot}%{_mandir}/man8
%__install -c -d -m 755 %{buildroot}%{_sbindir}
%__install -c -m 755 %{name} %{buildroot}%{_sbindir}
-%__install -c -d -m 755 %{buildroot}/etc/rc.d/init.d
-%__install -c -m 755 sample-scripts/%{name}.init
%{buildroot}/etc/rc.d/init.d/%{name}
-%__install -c -d -m 755 %{buildroot}/etc/%{name}
+%__install -c -d -m 755 %{buildroot}%{_initrddir}
+%__install -c -m 755 sample-scripts/%{name}.init
%{buildroot}%{_initrddir}/%{name}
+%__install -c -d -m 755 %{buildroot}%{_sysconfdir}/%{name}
%__mkdir_p %{buildroot}%{_datadir}/%{name}
%__cp -pr contrib easy-rsa sample-{config-file,key,script}s
%{buildroot}%{_datadir}/%{name}
@@ -67,9 +67,12 @@
%{_mandir}/man8/%{name}.8*
%{_sbindir}/%{name}
%{_datadir}/%{name}
-/etc
+%config(noreplace) %{_sysconfdir}
%changelog
+* Mon Mar 31 2004 Levente Farkas <lfar...@lfarkas.org> 2.0_test18
+- Mark config file as config.
+
* Sun Feb 23 2003 Matthias Andree <matthias.and...@gmx.de> 1.3.2.14-1.
- Have the version number filled in by autoconf.
--
Levente "Si vis pacem para bellum!"