From 2fc8e30548ef24b3b44824fc8baa13066cdfaf7f Mon Sep 17 00:00:00 2001 From: Steven Pritchard Date: Tue, 8 Nov 2005 15:26:21 +0000 Subject: [PATCH] Make sample-scripts (etc.) non-executable to avoid some dependencies. --- openvpn.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/openvpn.spec b/openvpn.spec index 01d0879..d5c1f98 100644 --- a/openvpn.spec +++ b/openvpn.spec @@ -4,7 +4,7 @@ Name: openvpn Version: 2.1 -Release: 0.1%{?prerelease:.%{prerelease}}%{?dist} +Release: 0.2%{?prerelease:.%{prerelease}}%{?dist} Summary: A full-featured SSL VPN solution URL: http://openvpn.net/ #Source0: http://openvpn.net/release/%{name}-%{version}.tar.gz @@ -45,6 +45,10 @@ for compression. %patch0 -p0 sed -i -e 's,%{_datadir}/openvpn/plugin,%{_libdir}/openvpn/plugin,' openvpn.8 +# %%doc items shouldn't be executable. +find contrib sample-config-files sample-keys sample-scripts -type f -perm +100 \ + -exec chmod a-x {} \; + %build # --enable-pthread Enable pthread support (Experimental for OpenVPN 2.0) # --enable-password-save Allow --askpass and --auth-user-pass passwords to be @@ -128,6 +132,9 @@ fi %config %dir %{_sysconfdir}/%{name}/ %changelog +* Tue Nov 08 2005 Steven Pritchard 2.1-0.2.beta6 +- Make sample-scripts (etc.) non-executable to avoid some dependencies + * Wed Nov 02 2005 Steven Pritchard 2.1-0.1.beta6 - Update to 2.1_beta6