rpms/curl/devel curl.spec,1.142,1.143
Kamil Dudka
kdudka at fedoraproject.org
Sun Mar 14 13:15:06 UTC 2010
Author: kdudka
Update of /cvs/extras/rpms/curl/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv14137
Modified Files:
curl.spec
Log Message:
cleanup in .spec
Index: curl.spec
===================================================================
RCS file: /cvs/extras/rpms/curl/devel/curl.spec,v
retrieving revision 1.142
retrieving revision 1.143
diff -u -p -r1.142 -r1.143
--- curl.spec 24 Feb 2010 20:43:45 -0000 1.142
+++ curl.spec 14 Mar 2010 13:15:06 -0000 1.143
@@ -7,7 +7,7 @@ Group: Applications/Internet
Source: http://curl.haxx.se/download/%{name}-%{version}.tar.lzma
Source2: curlbuild.h
-# patching making libcurl multilib ready (by not installing static libraries)
+# patch making libcurl multilib ready (by excluding static libraries)
Patch101: curl-7.15.3-multilib.patch
# force -lrt when linking the curl tool and test-cases
@@ -40,7 +40,7 @@ BuildRequires: c-ares-devel
BuildRequires: groff
BuildRequires: krb5-devel
BuildRequires: libidn-devel
-BuildRequires: libssh2-devel >= 1.2
+BuildRequires: libssh2-devel
BuildRequires: nss-devel
BuildRequires: openldap-devel
BuildRequires: openssh-clients
@@ -69,10 +69,6 @@ user authentication, FTP upload, HTTP po
Summary: A library for getting files from web servers
Group: Development/Libraries
-# libssh2 ABI has been changed since libssh2-1.0
-# this forces update of libssh2 before update of libcurl
-Requires: libssh2 >= 1.2
-
%description -n libcurl
This package provides a way for applications to use FTP, HTTP, Gopher and
other servers for getting files.
@@ -82,7 +78,6 @@ Summary: Files needed for building appli
Group: Development/Libraries
Requires: automake
Requires: libcurl = %{version}-%{release}
-Requires: libidn-devel
Requires: pkgconfig
Provides: curl-devel = %{version}-%{release}
@@ -128,8 +123,7 @@ done
--with-ca-bundle=%{_sysconfdir}/pki/tls/certs/ca-bundle.crt \
--with-gssapi=%{_prefix}/kerberos --with-libidn \
--enable-ldaps --disable-static --with-libssh2 --enable-manual --enable-ares
-sed -i -e 's,-L/usr/lib ,,g;s,-L/usr/lib64 ,,g;s,-L/usr/lib$,,g;s,-L/usr/lib64$,,g' \
- Makefile libcurl.pc
+
# Remove bogus rpath
sed -i \
-e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \
@@ -167,9 +161,6 @@ mv $RPM_BUILD_ROOT%{_includedir}/curl/cu
install -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_includedir}/curl/curlbuild.h
-# don't need curl's copy of the certs; use openssl's
-find ${RPM_BUILD_ROOT} -name ca-bundle.crt -exec rm -f '{}' \;
-
%clean
rm -rf $RPM_BUILD_ROOT
More information about the scm-commits
mailing list