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}