From 51b8b2f8030f1cc74b4a42b6bff138d81a5c5a180b66dcc7bdd2988347ebc336 Mon Sep 17 00:00:00 2001 From: Marius Tomaschewski Date: Mon, 29 Aug 2011 18:21:50 +0000 Subject: [PATCH] - Marked /var/run/openvpn as ghost, other rpmlint warnings OBS-URL: https://build.opensuse.org/package/show/network:vpn/openvpn?expand=0&rev=29 --- openvpn.changes | 5 +++++ openvpn.spec | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/openvpn.changes b/openvpn.changes index 5ed9d56..16fd437 100644 --- a/openvpn.changes +++ b/openvpn.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Aug 29 18:05:30 UTC 2011 - mt@suse.com + +- Marked /var/run/openvpn as ghost, other rpmlint warnings + ------------------------------------------------------------------- Tue Aug 23 15:41:00 UTC 2011 - crrodriguez@opensuse.org diff --git a/openvpn.spec b/openvpn.spec index 9bcadd2..20a1e34 100644 --- a/openvpn.spec +++ b/openvpn.spec @@ -192,7 +192,7 @@ for pi in auth-pam down-root; do install -m 755 plugin/$pi/openvpn-$pi.so \ $RPM_BUILD_ROOT%{plugin_libdir}/ done -# we install docs via spec into %{_defaultdocdir}/name/management-notes.txt +# we install docs via spec into _defaultdocdir/name/management-notes.txt rm $RPM_BUILD_ROOT%{_datadir}/doc/%name/management-notes.txt rmdir $RPM_BUILD_ROOT%{_datadir}/doc/%name @@ -210,7 +210,7 @@ if ! test -f /.buildenv; then rm -rf $RPM_BUILD_ROOT; fi %files %defattr(-,root,root) -%doc AUTHORS COPYING COPYRIGHT.GPL ChangeLog INSTALL NEWS PORTS README +%doc AUTHORS COPYING COPYRIGHT.GPL ChangeLog PORTS README %doc README.* %doc contrib %doc sample-config-files @@ -223,7 +223,7 @@ if ! test -f /.buildenv; then rm -rf $RPM_BUILD_ROOT; fi %config %{_sysconfdir}/init.d/openvpn %{_sbindir}/openvpn %{_sbindir}/rcopenvpn -%dir %{_localstatedir}/run/openvpn +%attr(0755,root,root) %dir %ghost %{_localstatedir}/run/openvpn %dir %{_datadir}/openvpn %{_datadir}/openvpn/easy-rsa %dir %{_libdir}/%{name}