SHA256
1
0
forked from pool/vpnc

Accepting request 78057 from network

This resolves the no-ghost-in-var-run rpmlint messages. I don't know why the files were created in the old spec-files, but it seems that vpnc is quite capable of creating them when required. So I removed the unnecessary files from the spec-file

OBS-URL: https://build.opensuse.org/request/show/78057
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vpnc?expand=0&rev=11
This commit is contained in:
Sascha Peilicke 2011-08-08 13:17:52 +00:00 committed by Git OBS Bridge
commit 4d3c09a675
2 changed files with 7 additions and 7 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Aug 4 10:25:45 UTC 2011 - tittiatcoke@gmail.com
- Resolved rpmlint warning non-ghost-in-var-run.
- Files in /var/run/vpnc are not required as that they will be
created automatically
-------------------------------------------------------------------
Thu Sep 9 20:42:08 UTC 2010 - cristian.rodriguez@opensuse.org

View File

@ -68,8 +68,6 @@ mkdir -p \
%{__make} install \
DESTDIR=${RPM_BUILD_ROOT} \
PREFIX=/usr
# Use chmod as %attr doesn't work for %doc maked files in the list
touch ${RPM_BUILD_ROOT}/%{_localstatedir}/run/vpnc/{defaultroute,gateway,pid,resolv.conf-backup} || true
rm -rfv ${RPM_BUILD_ROOT}/usr/share/doc/vpnc
%clean
@ -87,11 +85,6 @@ rm -rf %{buildroot}
%{_mandir}/man1/cisco-decrypt.1.*
%{_mandir}/man1/pcf2vpnc.1.*
%{_mandir}/man8/vpnc.8.*
%dir %{_localstatedir}/run/vpnc
%ghost %{_localstatedir}/run/vpnc/defaultroute
%ghost %{_localstatedir}/run/vpnc/gateway
%ghost %{_localstatedir}/run/vpnc/pid
%ghost %{_localstatedir}/run/vpnc/resolv.conf-backup
%doc ChangeLog COPYING README TODO VERSION
%changelog