Accepting request 356754 from home:pluskalm:branches:devel:libraries:c_c++

- Enable PSL (Publix Suffix List)
- Make building more verbose

OBS-URL: https://build.opensuse.org/request/show/356754
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=156
This commit is contained in:
Ismail Dönmez 2016-02-01 08:31:24 +00:00 committed by Git OBS Bridge
parent 980f5f360d
commit b8c9e9fdbe
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Jan 29 21:17:56 UTC 2016 - mpluskal@suse.com
- Enable PSL (Publix Suffix List)
- Make building more verbose
-------------------------------------------------------------------
Wed Jan 27 13:10:50 UTC 2016 - vcizek@suse.com

View File

@ -44,6 +44,7 @@ BuildRequires: pkg-config
BuildRequires: pkgconfig(libidn)
BuildRequires: pkgconfig(libmetalink)
BuildRequires: pkgconfig(libnghttp2)
BuildRequires: pkgconfig(libpsl)
BuildRequires: pkgconfig(libssh2)
BuildRequires: pkgconfig(zlib)
Requires: libcurl4 = %{version}
@ -108,7 +109,7 @@ CFLAGS=$(echo "%{optflags}" | sed -e 's/-D_FORTIFY_SOURCE=2//')
export CPPFLAGS CFLAGS
export CFLAGS="$CFLAGS -fPIE"
export LDFLAGS="$LDFLAGS -pie"
autoreconf -fi
autoreconf -fiv
# local hack to make curl-config --libs stop printing libraries it depends on
# (currently, libtool sets link_all_deplibs=(yes|unknown) everywhere,
# will hopefully change in the future)
@ -135,7 +136,7 @@ sed -i 's/\(link_all_deplibs=\)unknown/\1no/' configure
# if this fails, the above sed hack did not work
./libtool --config | grep -q link_all_deplibs=no
# enable-hidden-symbols needs gcc4 and causes that curl exports only its API
make %{?_smp_mflags}
make %{?_smp_mflags} V=1
%if %{with testsuite}
%check