Accepting request 41607 from devel:libraries:c_c++
checked in (request 41607) OBS-URL: https://build.opensuse.org/request/show/41607 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=39
This commit is contained in:
parent
d915a84230
commit
dcc865d447
@ -1,8 +1,3 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 2 14:12:54 UTC 2010 - lnussel@suse.de
|
||||
|
||||
- allowing switching to nss instead of openssl via bcond
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 10 01:12:22 UTC 2010 - crrodriguez@opensuse.org
|
||||
|
||||
|
22
curl.spec
22
curl.spec
@ -17,18 +17,9 @@
|
||||
|
||||
# norootforbuild
|
||||
|
||||
%bcond_without openssl
|
||||
%bcond_with mozilla_nss
|
||||
%bcond_without testsuite
|
||||
|
||||
Name: curl
|
||||
BuildRequires: libidn-devel openldap2-devel pkg-config zlib-devel
|
||||
%if %{with openssl}
|
||||
BuildRequires: openssl-devel
|
||||
%endif
|
||||
%if %{with mozilla_nss}
|
||||
BuildRequires: mozilla-nss-devel
|
||||
%endif
|
||||
BuildRequires: libidn-devel openldap2-devel openssl-devel pkg-config zlib-devel
|
||||
%if 0%{suse_version} > 930
|
||||
BuildRequires: krb5-devel
|
||||
%else
|
||||
@ -97,15 +88,8 @@ export CFLAGS="$RPM_OPT_FLAGS"
|
||||
./configure \
|
||||
--prefix=%{_prefix} \
|
||||
--enable-ipv6 \
|
||||
%if %{with openssl}
|
||||
--with-ssl \
|
||||
--with-ca-path=/etc/ssl/certs/ \
|
||||
%else
|
||||
--without-ssl \
|
||||
%if %{with mozilla_nss}
|
||||
--with-nss \
|
||||
%endif
|
||||
%endif
|
||||
%if %suse_version > 930
|
||||
--with-gssapi=/usr/lib/mit \
|
||||
%else
|
||||
@ -119,9 +103,6 @@ export CFLAGS="$RPM_OPT_FLAGS"
|
||||
./libtool --config | grep -q link_all_deplibs=no
|
||||
# enable-hidden-symbols needs gcc4 and causes that curl exports only its API
|
||||
make %{?jobs:-j%jobs}
|
||||
|
||||
%if %{with testsuite}
|
||||
%check
|
||||
cd tests
|
||||
make
|
||||
# make sure the testsuite runs don't race on MP machines in autobuild
|
||||
@ -139,7 +120,6 @@ perl ./runtests.pl -a -b$base || {
|
||||
echo "WARNING: runtests.pl failed with code $?, continuing nevertheless"
|
||||
%endif
|
||||
}
|
||||
%endif
|
||||
|
||||
%install
|
||||
make install DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir}
|
||||
|
Loading…
x
Reference in New Issue
Block a user