Add RPM build option to disable LZO
The attached patch to the OpenVPN 1.6.0 SPEC file adds a conditional build option to disable the use of LZO compression. LZO is not included in Red Hat/Fedora Core, so this will make it easier for users of those distributions to build a RPM without LZO support (if they don't want it).
The package can be built with 'rpmbuild -tb --without lzo ...".
Signature · 3 lines
======================================================================== Ian Pilcher [email protected]... ========================================================================
openvpn.spec renamed from openvpn.spec-orig +4 -1
@@ -11,6 +11,9 @@ Packager: bishop clark (LC957) <[email protected]...> BuildRoot: %{_tmppath}/%{name}-%(id -un) +%{!?_without_lzo:BuildRequires: lzo-devel} +%{!?_without_lzo:Requires: lzo} + %description OpenVPN is a robust and highly flexible tunneling application that uses all of the encryption, authentication, and certification features
@@ -24,7 +27,7 @@ %setup -q %build -%configure --enable-pthread +%configure --enable-pthread %{?_without_lzo:--disable-lzo} %__make %install