Make sample-scripts (etc.) non-executable to avoid some dependencies.

epel8
Steven Pritchard 19 years ago
parent b70558415e
commit 2fc8e30548

@ -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 <steve@kspei.com> 2.1-0.2.beta6
- Make sample-scripts (etc.) non-executable to avoid some dependencies
* Wed Nov 02 2005 Steven Pritchard <steve@kspei.com> 2.1-0.1.beta6
- Update to 2.1_beta6

Loading…
Cancel
Save