[curl] build libcurl with --enable-hidden-symbols

Kamil Dudka kdudka at fedoraproject.org
Wed Jan 12 14:53:24 UTC 2011


commit f6ba54655da4bb6d0eee20706410012e57c73fdc
Author: Kamil Dudka <kdudka at redhat.com>
Date:   Wed Jan 12 15:52:26 2011 +0100

    build libcurl with --enable-hidden-symbols

 curl.spec |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/curl.spec b/curl.spec
index 4c367ec..b9d09d1 100644
--- a/curl.spec
+++ b/curl.spec
@@ -1,7 +1,7 @@
 Summary: A utility for getting files from remote servers (FTP, HTTP, and others)
 Name: curl
 Version: 7.21.3
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: MIT
 Group: Applications/Internet
 Source: http://curl.haxx.se/download/%{name}-%{version}.tar.lzma
@@ -125,6 +125,7 @@ sed -i s/899\\\([0-9]\\\)/%{?__isa_bits}9\\1/ tests/data/test*
 %build
 [ -x /usr/kerberos/bin/krb5-config ] && KRB5_PREFIX="=/usr/kerberos"
 %configure --disable-static \
+    --enable-hidden-symbols \
     --enable-ipv6 \
     --enable-ldaps \
     --enable-manual \
@@ -219,6 +220,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/aclocal/libcurl.m4
 
 %changelog
+* Wed Jan 12 2011 Kamil Dudka <kdudka at redhat.com> 7.21.3-2
+- build libcurl with --enable-hidden-symbols
+
 * Thu Dec 16 2010 Paul Howarth <paul at city-fan.org> 7.21.3-1
 - update to 7.21.3:
   - added --noconfigure switch to testcurl.pl


More information about the scm-commits mailing list