diff options
author | Alon Bar-Lev <alon.barlev@gmail.com> | 2012-02-29 22:11:44 +0200 |
---|---|---|
committer | David Sommerseth <davids@redhat.com> | 2012-03-22 22:06:52 +0100 |
commit | 5c2922c4593b7eedc3f9c93958285d67afeb0d37 (patch) | |
tree | 60427c07b9697374627b2f52cb4328383ead17b1 /openvpn.spec.in | |
parent | ce3862789e5443758441c905569703577e67525a (diff) | |
download | openvpn-5c2922c4593b7eedc3f9c93958285d67afeb0d37.tar.gz openvpn-5c2922c4593b7eedc3f9c93958285d67afeb0d37.tar.xz openvpn-5c2922c4593b7eedc3f9c93958285d67afeb0d37.zip |
build: rename plugin directory to plugins
This to avoid conflit with plugin.c rules
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
Acked-by: David Sommerseth <davids@redhat.com>
Signed-off-by: David Sommerseth <davids@redhat.com>
Diffstat (limited to 'openvpn.spec.in')
-rw-r--r-- | openvpn.spec.in | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/openvpn.spec.in b/openvpn.spec.in index c42e7c6..9a45c79 100644 --- a/openvpn.spec.in +++ b/openvpn.spec.in @@ -103,13 +103,13 @@ and portability to most major OS platforms. %__make # Build down-root plugin -pushd plugin/down-root +pushd plugins/down-root %__make popd # Build auth-pam plugin %if %{build_auth_pam} -pushd plugin/auth-pam +pushd plugins/auth-pam %__make popd %endif @@ -153,16 +153,16 @@ popd # Install the plugins # -%__mkdir_p %{buildroot}%{_datadir}/%{name}/plugin/lib +%__mkdir_p %{buildroot}%{_datadir}/%{name}/plugins/lib for pi in auth-pam down-root; do - %__mv -f plugin/$pi/README plugin/README.$pi - if [ -e plugin/$pi/openvpn-$pi.so ]; then - %__install -c -m 755 plugin/$pi/openvpn-$pi.so %{buildroot}%{_datadir}/openvpn/plugin/lib/openvpn-$pi.so + %__mv -f plugins/$pi/README plugins/README.$pi + if [ -e plugins/$pi/openvpn-$pi.so ]; then + %__install -c -m 755 plugins/$pi/openvpn-$pi.so %{buildroot}%{_datadir}/openvpn/plugins/lib/openvpn-$pi.so fi done -%__mv -f plugin/README plugin/README.plugins +%__mv -f plugins/README plugins/README.plugins # # Clean section @@ -222,7 +222,7 @@ fi %endif # Install extra %doc stuff -%doc contrib/ easy-rsa/ sample-*/ plugin/README.* +%doc contrib/ easy-rsa/ sample-*/ plugins/README.* %changelog * Thu Jul 30 2009 David Sommerseth <dazo@users.sourceforge.net> |