SHA256
1
0
forked from pool/vpnc
Raymond Wooninck 2011-08-04 13:46:23 +00:00 committed by Git OBS Bridge
parent 941ff9802d
commit 2a0ffe1397

View File

@ -69,7 +69,8 @@ mkdir -p \
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
# No longer needed as that these files are created upon installation of the package
# touch ${RPM_BUILD_ROOT}/%{_localstatedir}/run/vpnc/{defaultroute,gateway,pid,resolv.conf-backup} || true
rm -rfv ${RPM_BUILD_ROOT}/usr/share/doc/vpnc
%clean
@ -98,11 +99,6 @@ fi
%{_mandir}/man1/cisco-decrypt.1.*
%{_mandir}/man1/pcf2vpnc.1.*
%{_mandir}/man8/vpnc.8.*
%ghost %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