strip LIBS exported by neon-config to the minimum

epel10
Joe Orton 3 years ago
parent f764c0a93a
commit 48bcb21242

@ -1,5 +1,5 @@
--- neon-0.27.0/neon-config.in.multilib --- neon-0.32.2/neon-config.in.multilib
+++ neon-0.27.0/neon-config.in +++ neon-0.32.2/neon-config.in
@@ -5,7 +5,11 @@ @@ -5,7 +5,11 @@
prefix=@prefix@ prefix=@prefix@
exec_prefix=@exec_prefix@ exec_prefix=@exec_prefix@
@ -22,7 +22,7 @@
i18n [@NE_FLAG_I18N@], ts_ssl [@NE_FLAG_TS_SSL@] i18n [@NE_FLAG_I18N@], ts_ssl [@NE_FLAG_TS_SSL@]
EOF EOF
@@ -69,11 +73,10 @@ @@ -69,16 +73,11 @@
;; ;;
--cflags) --cflags)
@ -32,10 +32,16 @@
--libs) --libs)
- LIBS="-lneon @NEON_LIBS@" - LIBS="-lneon @NEON_LIBS@"
# Don't add standard library paths - # Don't add standard library paths
if test "$prefix" != "/usr"; then - if test "$prefix" != "/usr"; then
LIBS="-L${libdir} ${LIBS}" - LIBS="-L${libdir} ${LIBS}"
@@ -93,7 +96,7 @@ - fi
- echo @user_LDFLAGS@ ${LIBS}
+ echo ${LIBS}
;;
--la-file)
@@ -93,7 +92,7 @@
zlib|ZLIB) support @NE_FLAG_ZLIB@ ;; zlib|ZLIB) support @NE_FLAG_ZLIB@ ;;
ipv6|IPV6) support @NE_FLAG_IPV6@ ;; ipv6|IPV6) support @NE_FLAG_IPV6@ ;;
dav|DAV) support @NE_FLAG_DAV@ ;; dav|DAV) support @NE_FLAG_DAV@ ;;
@ -44,8 +50,8 @@
i18n|I18N) support @NE_FLAG_I18N@ ;; i18n|I18N) support @NE_FLAG_I18N@ ;;
ts_ssl|TS_SSL) support @NE_FLAG_TS_SSL@ ;; ts_ssl|TS_SSL) support @NE_FLAG_TS_SSL@ ;;
*) support no ;; *) support no ;;
--- neon-0.27.0/neon.pc.in.multilib --- neon-0.32.2/neon.pc.in.multilib
+++ neon-0.27.0/neon.pc.in +++ neon-0.32.2/neon.pc.in
@@ -2,6 +2,7 @@ @@ -2,6 +2,7 @@
exec_prefix=@exec_prefix@ exec_prefix=@exec_prefix@
libdir=@libdir@ libdir=@libdir@

@ -13,11 +13,11 @@
Summary: An HTTP and WebDAV client library Summary: An HTTP and WebDAV client library
Name: neon Name: neon
Version: 0.32.2 Version: 0.32.2
Release: 2%{?dist} Release: 3%{?dist}
License: LGPLv2+ License: LGPLv2+
URL: https://notroj.github.io/neon/ URL: https://notroj.github.io/neon/
Source0: https://notroj.github.io/neon/neon-%{version}.tar.gz Source0: https://notroj.github.io/neon/neon-%{version}.tar.gz
Patch0: neon-0.27.0-multilib.patch Patch0: neon-0.32.2-multilib.patch
BuildRequires: expat-devel, openssl-devel, zlib-devel, krb5-devel BuildRequires: expat-devel, openssl-devel, zlib-devel, krb5-devel
BuildRequires: pkgconfig, make, gcc, xmlto BuildRequires: pkgconfig, make, gcc, xmlto
%if %{with pkcs11} %if %{with pkcs11}
@ -97,6 +97,9 @@ make %{?_smp_mflags} check
%{_libdir}/*.so %{_libdir}/*.so
%changelog %changelog
* Thu Jan 27 2022 Joe Orton <jorton@redhat.com> - 0.32.2-3
- strip LIBS exported by neon-config to the minimum
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.32.2-2 * Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.32.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild

Loading…
Cancel
Save