adjust plugin dir plageholders in man page

OBS-URL: https://build.opensuse.org/package/show/network:vpn/openvpn?expand=0&rev=90
This commit is contained in:
Marius Tomaschewski 2015-03-02 10:06:37 +00:00 committed by Git OBS Bridge
parent c4621b5e67
commit 515f549344

View File

@ -129,7 +129,11 @@ chroot directives.
%patch1 -p0
%patch5 -p0
%patch6 -p1
sed -e "s|\" __DATE__|$(date '+%b %e %Y' -r version.m4)\"|g" -i src/openvpn/options.c
sed -e "s|\" __DATE__|$(date '+%b %e %Y' -r version.m4)\"|g" \
-i src/openvpn/options.c
sed -e "s|@PLUGIN_LIBDIR@|%{_libdir}/openvpn/plugins|g" \
-e "s|@PLUGIN_DOCDIR@|%{_defaultdocdir}/%{name}|g" \
-i doc/openvpn.8
# %%doc items shouldn't be executable.
find contrib sample -type f -exec chmod a-x \{\} \;
@ -148,7 +152,7 @@ export LDFLAGS
--enable-plugin-down-root \
--enable-plugin-auth-pam \
--with-lzo-headers=%_includedir/lzo \
CFLAGS="$CFLAGS $(getconf LFS_CFLAGS) -fPIE $PLUGIN_DEFS" \
CFLAGS="$CFLAGS -fPIE $PLUGIN_DEFS" \
LDFLAGS="$LDFLAGS -pie -lpam -rdynamic -Wl,-rpath,%{_libdir}/%{name}/plugins"
make