public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/curl] curl-v8.21.0-9: cleanup in .spec
@ 2026-11-02 14:26 Kamil Dudka
  0 siblings, 0 replies; only message in thread
From: Kamil Dudka @ 2026-11-02 14:26 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/curl
Branch : curl-v8.21.0-9
Commit : 97dbc678619b0cbbbb4f2a315eaae240aace08f3
Author : Kamil Dudka <kdudka@fedoraproject.org>
Date   : 2010-03-14T13:15:06+00:00
Stats  : +3/-12 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/curl/c/97dbc678619b0cbbbb4f2a315eaae240aace08f3?branch=curl-v8.21.0-9

Log:
cleanup in .spec

---
diff --git a/curl.spec b/curl.spec
index 7ff4d21..b8f8651 100644
--- a/curl.spec
+++ b/curl.spec
@@ -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 post, and file transfer resume.
 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 applications with libcurl
 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/curlbuild.h \
 
 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
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-02 14:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-02 14:26 [rpms/curl] curl-v8.21.0-9: cleanup in .spec Kamil Dudka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox