diff --git a/neon.spec b/neon.spec index 69ab9f2..be5ba3b 100644 --- a/neon.spec +++ b/neon.spec @@ -4,21 +4,29 @@ %else %bcond_with pkcs11 %endif +%if 0%{?fedora} +%bcond_without libproxy +%else +%bcond_with libproxy +%endif Summary: An HTTP and WebDAV client library Name: neon Version: 0.31.2 -Release: 9%{?dist} +Release: 10%{?dist} License: LGPLv2+ URL: https://notroj.github.io/neon/ Source0: https://notroj.github.io/neon/neon-%{version}.tar.gz Patch0: neon-0.27.0-multilib.patch Patch1: neon-0.31.2-lesstests.patch -BuildRequires: expat-devel, openssl-devel, zlib-devel, krb5-devel, libproxy-devel -BuildRequires: pkgconfig, make, gcc +BuildRequires: expat-devel, openssl-devel, zlib-devel, krb5-devel +BuildRequires: pkgconfig, make, gcc, vim-minimal %if %{with pkcs11} BuildRequires: pakchois-devel %endif +%if %{with libproxy} +BuildRequires: libproxy-devel +%endif %if %{with tests} # SSL tests require openssl binary, PKCS#11 testing need certutil BuildRequires: /usr/bin/perl, /usr/bin/openssl, /usr/bin/certutil @@ -55,7 +63,11 @@ export CC="%{__cc} -pthread" %configure --with-expat --enable-shared --disable-static \ --enable-warnings \ --with-ssl=openssl --enable-threadsafe-ssl=posix \ +%if %{with libproxy} --with-libproxy +%else + --without-libproxy +%endif %make_build %install @@ -89,6 +101,9 @@ make %{?_smp_mflags} check %{_libdir}/*.so %changelog +* Tue Aug 3 2021 Joe Orton - 0.31.2-10 +- drop libproxy support for RHEL (#1989594) + * Wed Jun 16 2021 Mohan Boddu - 0.31.2-9 - Rebuilt for RHEL 9 BETA for openssl 3.0 Related: rhbz#1971065