Remove commented out old plugin steps

epel8
Orion Poplawski 9 years ago
parent 329a597067
commit 25e299eb53

@ -92,11 +92,6 @@ find contrib sample -type f -perm /100 \
--docdir=%{_pkgdocdir} --docdir=%{_pkgdocdir}
%{__make} %{__make}
## Build plugins
#for plugin in %{plugins} ; do
# %{__make} -C src/plugins/$plugin
#done
#%check #%check
## Test Crypto: ## Test Crypto:
#./src/openvpn/openvpn --genkey --secret key #./src/openvpn/openvpn --genkey --secret key
@ -140,13 +135,6 @@ install -d -m 0755 $RPM_BUILD_ROOT%{_sysconfdir}/%{name}
#rm -rf $RPM_BUILD_ROOT%{_datadir}/%{name}/easy-rsa/Windows #rm -rf $RPM_BUILD_ROOT%{_datadir}/%{name}/easy-rsa/Windows
cp %{SOURCE2} %{SOURCE3} sample/sample-config-files/ cp %{SOURCE2} %{SOURCE3} sample/sample-config-files/
#mkdir -p $RPM_BUILD_ROOT%{_libdir}/%{name}/plugin/lib
#for plugin in %{plugins} ; do
# install -m 0755 src/plugins/$plugin/openvpn-$plugin.so \
# $RPM_BUILD_ROOT%{_libdir}/%{name}/plugin/lib/openvpn-$plugin.so
# cp src/plugins/$plugin/README plugin/$plugin.txt
#done
%{__make} install DESTDIR=$RPM_BUILD_ROOT %{__make} install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -name '*.la' | xargs rm -f find $RPM_BUILD_ROOT -name '*.la' | xargs rm -f

Loading…
Cancel
Save