public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/curl] curl-v8.23.0-3: rename patches to reflect the curl version they apply to
@ 2026-11-03 12:35 Kamil Dudka
0 siblings, 0 replies; 2+ messages in thread
From: Kamil Dudka @ 2026-11-03 12:35 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/curl
Branch : curl-v8.23.0-3
Commit : c5085749c310ea1568cec02bff74013b4bf4c1f4
Author : Kamil Dudka <kdudka@redhat.com>
Date : 2013-06-26T18:05:26+02:00
Stats : +190/-190 in 7 file(s)
URL : https://src.fedoraproject.org/rpms/curl/c/c5085749c310ea1568cec02bff74013b4bf4c1f4?branch=curl-v8.23.0-3
Log:
rename patches to reflect the curl version they apply to
---
diff --git a/0101-curl-7.30.0-multilib.patch b/0101-curl-7.30.0-multilib.patch
deleted file mode 100644
index 57cd565..0000000
--- a/0101-curl-7.30.0-multilib.patch
+++ /dev/null
@@ -1,83 +0,0 @@
-From 2a4754a3a7cf60ecc36d83cbe50b8c337cb87632 Mon Sep 17 00:00:00 2001
-From: Kamil Dudka <kdudka@redhat.com>
-Date: Fri, 12 Apr 2013 12:04:05 +0200
-Subject: [PATCH] prevent multilib conflicts on the curl-config script
-
----
- curl-config.in | 21 +++------------------
- docs/curl-config.1 | 4 +++-
- libcurl.pc.in | 1 +
- 3 files changed, 7 insertions(+), 19 deletions(-)
-
-diff --git a/curl-config.in b/curl-config.in
-index 150004d..95d0759 100644
---- a/curl-config.in
-+++ b/curl-config.in
-@@ -75,7 +75,7 @@ while test $# -gt 0; do
- ;;
-
- --cc)
-- echo "@CC@"
-+ echo "gcc"
- ;;
-
- --prefix)
-@@ -142,29 +142,14 @@ while test $# -gt 0; do
- ;;
-
- --libs)
-- if test "X@libdir@" != "X/usr/lib" -a "X@libdir@" != "X/usr/lib64"; then
-- CURLLIBDIR="-L@libdir@ "
-- else
-- CURLLIBDIR=""
-- fi
-- if test "X@REQUIRE_LIB_DEPS@" = "Xyes"; then
-- echo ${CURLLIBDIR}-lcurl @LIBCURL_LIBS@
-- else
-- echo ${CURLLIBDIR}-lcurl
-- fi
-+ pkg-config libcurl --libs
- ;;
-
- --static-libs)
-- if test "X@ENABLE_STATIC@" != "Xno" ; then
-- echo @libdir@/libcurl.@libext@ @LDFLAGS@ @LIBCURL_LIBS@
-- else
-- echo "curl was built with static libraries disabled" >&2
-- exit 1
-- fi
- ;;
-
- --configure)
-- echo @CONFIGURE_OPTIONS@
-+ pkg-config libcurl --variable=configure_options | sed 's/^"//;s/"$//'
- ;;
-
- *)
-diff --git a/docs/curl-config.1 b/docs/curl-config.1
-index 14a9d2b..ffcc004 100644
---- a/docs/curl-config.1
-+++ b/docs/curl-config.1
-@@ -65,7 +65,9 @@ be listed using uppercase and are separated by newlines. There may be none,
- one, or several protocols in the list. (Added in 7.13.0)
- .IP "--static-libs"
- Shows the complete set of libs and other linker options you will need in order
--to link your application with libcurl statically. (Added in 7.17.1)
-+to link your application with libcurl statically. Note that Fedora/RHEL libcurl
-+packages do not provide any static libraries, thus cannot be linked statically.
-+(Added in 7.17.1)
- .IP "--version"
- Outputs version information about the installed libcurl.
- .IP "--vernum"
-diff --git a/libcurl.pc.in b/libcurl.pc.in
-index 2ba9c39..f8f8b00 100644
---- a/libcurl.pc.in
-+++ b/libcurl.pc.in
-@@ -29,6 +29,7 @@ libdir=@libdir@
- includedir=@includedir@
- supported_protocols="@SUPPORT_PROTOCOLS@"
- supported_features="@SUPPORT_FEATURES@"
-+configure_options=@CONFIGURE_OPTIONS@
-
- Name: libcurl
- URL: http://curl.haxx.se/
diff --git a/0101-curl-7.31.0-multilib.patch b/0101-curl-7.31.0-multilib.patch
new file mode 100644
index 0000000..57cd565
--- /dev/null
+++ b/0101-curl-7.31.0-multilib.patch
@@ -0,0 +1,83 @@
+From 2a4754a3a7cf60ecc36d83cbe50b8c337cb87632 Mon Sep 17 00:00:00 2001
+From: Kamil Dudka <kdudka@redhat.com>
+Date: Fri, 12 Apr 2013 12:04:05 +0200
+Subject: [PATCH] prevent multilib conflicts on the curl-config script
+
+---
+ curl-config.in | 21 +++------------------
+ docs/curl-config.1 | 4 +++-
+ libcurl.pc.in | 1 +
+ 3 files changed, 7 insertions(+), 19 deletions(-)
+
+diff --git a/curl-config.in b/curl-config.in
+index 150004d..95d0759 100644
+--- a/curl-config.in
++++ b/curl-config.in
+@@ -75,7 +75,7 @@ while test $# -gt 0; do
+ ;;
+
+ --cc)
+- echo "@CC@"
++ echo "gcc"
+ ;;
+
+ --prefix)
+@@ -142,29 +142,14 @@ while test $# -gt 0; do
+ ;;
+
+ --libs)
+- if test "X@libdir@" != "X/usr/lib" -a "X@libdir@" != "X/usr/lib64"; then
+- CURLLIBDIR="-L@libdir@ "
+- else
+- CURLLIBDIR=""
+- fi
+- if test "X@REQUIRE_LIB_DEPS@" = "Xyes"; then
+- echo ${CURLLIBDIR}-lcurl @LIBCURL_LIBS@
+- else
+- echo ${CURLLIBDIR}-lcurl
+- fi
++ pkg-config libcurl --libs
+ ;;
+
+ --static-libs)
+- if test "X@ENABLE_STATIC@" != "Xno" ; then
+- echo @libdir@/libcurl.@libext@ @LDFLAGS@ @LIBCURL_LIBS@
+- else
+- echo "curl was built with static libraries disabled" >&2
+- exit 1
+- fi
+ ;;
+
+ --configure)
+- echo @CONFIGURE_OPTIONS@
++ pkg-config libcurl --variable=configure_options | sed 's/^"//;s/"$//'
+ ;;
+
+ *)
+diff --git a/docs/curl-config.1 b/docs/curl-config.1
+index 14a9d2b..ffcc004 100644
+--- a/docs/curl-config.1
++++ b/docs/curl-config.1
+@@ -65,7 +65,9 @@ be listed using uppercase and are separated by newlines. There may be none,
+ one, or several protocols in the list. (Added in 7.13.0)
+ .IP "--static-libs"
+ Shows the complete set of libs and other linker options you will need in order
+-to link your application with libcurl statically. (Added in 7.17.1)
++to link your application with libcurl statically. Note that Fedora/RHEL libcurl
++packages do not provide any static libraries, thus cannot be linked statically.
++(Added in 7.17.1)
+ .IP "--version"
+ Outputs version information about the installed libcurl.
+ .IP "--vernum"
+diff --git a/libcurl.pc.in b/libcurl.pc.in
+index 2ba9c39..f8f8b00 100644
+--- a/libcurl.pc.in
++++ b/libcurl.pc.in
+@@ -29,6 +29,7 @@ libdir=@libdir@
+ includedir=@includedir@
+ supported_protocols="@SUPPORT_PROTOCOLS@"
+ supported_features="@SUPPORT_FEATURES@"
++configure_options=@CONFIGURE_OPTIONS@
+
+ Name: libcurl
+ URL: http://curl.haxx.se/
diff --git a/0102-curl-7.30.0-debug.patch b/0102-curl-7.30.0-debug.patch
deleted file mode 100644
index b2ef40a..0000000
--- a/0102-curl-7.30.0-debug.patch
+++ /dev/null
@@ -1,65 +0,0 @@
-From 6710648c2b270c9ce68a7d9f1bba1222c7be8b58 Mon Sep 17 00:00:00 2001
-From: Kamil Dudka <kdudka@redhat.com>
-Date: Wed, 31 Oct 2012 11:38:30 +0100
-Subject: [PATCH] prevent configure script from discarding -g in CFLAGS (#496778)
-
----
- configure | 13 +++----------
- m4/curl-compilers.m4 | 13 +++----------
- 2 files changed, 6 insertions(+), 20 deletions(-)
-
-diff --git a/configure b/configure
-index 8f079a3..53b4774 100755
---- a/configure
-+++ b/configure
-@@ -16020,18 +16020,11 @@ $as_echo "yes" >&6; }
- gccvhi=`echo $gccver | cut -d . -f1`
- gccvlo=`echo $gccver | cut -d . -f2`
- compiler_num=`(expr $gccvhi "*" 100 + $gccvlo) 2>/dev/null`
-- flags_dbg_all="-g -g0 -g1 -g2 -g3"
-- flags_dbg_all="$flags_dbg_all -ggdb"
-- flags_dbg_all="$flags_dbg_all -gstabs"
-- flags_dbg_all="$flags_dbg_all -gstabs+"
-- flags_dbg_all="$flags_dbg_all -gcoff"
-- flags_dbg_all="$flags_dbg_all -gxcoff"
-- flags_dbg_all="$flags_dbg_all -gdwarf-2"
-- flags_dbg_all="$flags_dbg_all -gvms"
-+ flags_dbg_all=""
- flags_dbg_yes="-g"
- flags_dbg_off=""
-- flags_opt_all="-O -O0 -O1 -O2 -O3 -Os"
-- flags_opt_yes="-O2"
-+ flags_opt_all=""
-+ flags_opt_yes=""
- flags_opt_off="-O0"
-
- if test -z "$SED"; then
-diff --git a/m4/curl-compilers.m4 b/m4/curl-compilers.m4
-index 0cbba7a..9175b5b 100644
---- a/m4/curl-compilers.m4
-+++ b/m4/curl-compilers.m4
-@@ -148,18 +148,11 @@ AC_DEFUN([CURL_CHECK_COMPILER_GNU_C], [
- gccvhi=`echo $gccver | cut -d . -f1`
- gccvlo=`echo $gccver | cut -d . -f2`
- compiler_num=`(expr $gccvhi "*" 100 + $gccvlo) 2>/dev/null`
-- flags_dbg_all="-g -g0 -g1 -g2 -g3"
-- flags_dbg_all="$flags_dbg_all -ggdb"
-- flags_dbg_all="$flags_dbg_all -gstabs"
-- flags_dbg_all="$flags_dbg_all -gstabs+"
-- flags_dbg_all="$flags_dbg_all -gcoff"
-- flags_dbg_all="$flags_dbg_all -gxcoff"
-- flags_dbg_all="$flags_dbg_all -gdwarf-2"
-- flags_dbg_all="$flags_dbg_all -gvms"
-+ flags_dbg_all=""
- flags_dbg_yes="-g"
- flags_dbg_off=""
-- flags_opt_all="-O -O0 -O1 -O2 -O3 -Os"
-- flags_opt_yes="-O2"
-+ flags_opt_all=""
-+ flags_opt_yes=""
- flags_opt_off="-O0"
- CURL_CHECK_DEF([_WIN32], [], [silent])
- else
---
-1.7.1
-
diff --git a/0102-curl-7.31.0-debug.patch b/0102-curl-7.31.0-debug.patch
new file mode 100644
index 0000000..b2ef40a
--- /dev/null
+++ b/0102-curl-7.31.0-debug.patch
@@ -0,0 +1,65 @@
+From 6710648c2b270c9ce68a7d9f1bba1222c7be8b58 Mon Sep 17 00:00:00 2001
+From: Kamil Dudka <kdudka@redhat.com>
+Date: Wed, 31 Oct 2012 11:38:30 +0100
+Subject: [PATCH] prevent configure script from discarding -g in CFLAGS (#496778)
+
+---
+ configure | 13 +++----------
+ m4/curl-compilers.m4 | 13 +++----------
+ 2 files changed, 6 insertions(+), 20 deletions(-)
+
+diff --git a/configure b/configure
+index 8f079a3..53b4774 100755
+--- a/configure
++++ b/configure
+@@ -16020,18 +16020,11 @@ $as_echo "yes" >&6; }
+ gccvhi=`echo $gccver | cut -d . -f1`
+ gccvlo=`echo $gccver | cut -d . -f2`
+ compiler_num=`(expr $gccvhi "*" 100 + $gccvlo) 2>/dev/null`
+- flags_dbg_all="-g -g0 -g1 -g2 -g3"
+- flags_dbg_all="$flags_dbg_all -ggdb"
+- flags_dbg_all="$flags_dbg_all -gstabs"
+- flags_dbg_all="$flags_dbg_all -gstabs+"
+- flags_dbg_all="$flags_dbg_all -gcoff"
+- flags_dbg_all="$flags_dbg_all -gxcoff"
+- flags_dbg_all="$flags_dbg_all -gdwarf-2"
+- flags_dbg_all="$flags_dbg_all -gvms"
++ flags_dbg_all=""
+ flags_dbg_yes="-g"
+ flags_dbg_off=""
+- flags_opt_all="-O -O0 -O1 -O2 -O3 -Os"
+- flags_opt_yes="-O2"
++ flags_opt_all=""
++ flags_opt_yes=""
+ flags_opt_off="-O0"
+
+ if test -z "$SED"; then
+diff --git a/m4/curl-compilers.m4 b/m4/curl-compilers.m4
+index 0cbba7a..9175b5b 100644
+--- a/m4/curl-compilers.m4
++++ b/m4/curl-compilers.m4
+@@ -148,18 +148,11 @@ AC_DEFUN([CURL_CHECK_COMPILER_GNU_C], [
+ gccvhi=`echo $gccver | cut -d . -f1`
+ gccvlo=`echo $gccver | cut -d . -f2`
+ compiler_num=`(expr $gccvhi "*" 100 + $gccvlo) 2>/dev/null`
+- flags_dbg_all="-g -g0 -g1 -g2 -g3"
+- flags_dbg_all="$flags_dbg_all -ggdb"
+- flags_dbg_all="$flags_dbg_all -gstabs"
+- flags_dbg_all="$flags_dbg_all -gstabs+"
+- flags_dbg_all="$flags_dbg_all -gcoff"
+- flags_dbg_all="$flags_dbg_all -gxcoff"
+- flags_dbg_all="$flags_dbg_all -gdwarf-2"
+- flags_dbg_all="$flags_dbg_all -gvms"
++ flags_dbg_all=""
+ flags_dbg_yes="-g"
+ flags_dbg_off=""
+- flags_opt_all="-O -O0 -O1 -O2 -O3 -Os"
+- flags_opt_yes="-O2"
++ flags_opt_all=""
++ flags_opt_yes=""
+ flags_opt_off="-O0"
+ CURL_CHECK_DEF([_WIN32], [], [silent])
+ else
+--
+1.7.1
+
diff --git a/0108-curl-7.30.0-utf8.patch b/0108-curl-7.30.0-utf8.patch
deleted file mode 100644
index feb1b2f..0000000
--- a/0108-curl-7.30.0-utf8.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-From c6246783cf347652f70d95c0562dd411747e9d53 Mon Sep 17 00:00:00 2001
-From: Kamil Dudka <kdudka@redhat.com>
-Date: Wed, 31 Oct 2012 11:40:30 +0100
-Subject: [PATCH] Fix character encoding of docs
-
-..., which are of mixed encoding originally so a simple iconv can't
-fix them.
----
- CHANGES | 2 +-
- README | 2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/CHANGES b/CHANGES
-index 4568408..5fc1652 100644
---- a/CHANGES
-+++ b/CHANGES
-@@ -5325,7 +5325,7 @@ Daniel Stenberg (12 Nov 2012)
-
- - [Gabriel Sjoberg brought this change]
-
-- Digst: Add microseconds into nounce calculation
-+ Digest: Add microseconds into nounce calculation
-
- When using only 1 second precision, curl doesn't create new cnonce
- values quickly enough for all uses.
-diff --git a/README b/README
-index 2ffacc3..cfd6760 100644
---- a/README
-+++ b/README
-@@ -45,5 +45,5 @@ GIT
- NOTICE
-
- Curl contains pieces of source code that is Copyright (c) 1998, 1999
-- Kungliga Tekniska H�gskolan. This notice is included here to comply with the
-+ Kungliga Tekniska Högskolan. This notice is included here to comply with the
- distribution terms.
---
-1.7.1
-
diff --git a/0108-curl-7.31.0-utf8.patch b/0108-curl-7.31.0-utf8.patch
new file mode 100644
index 0000000..feb1b2f
--- /dev/null
+++ b/0108-curl-7.31.0-utf8.patch
@@ -0,0 +1,39 @@
+From c6246783cf347652f70d95c0562dd411747e9d53 Mon Sep 17 00:00:00 2001
+From: Kamil Dudka <kdudka@redhat.com>
+Date: Wed, 31 Oct 2012 11:40:30 +0100
+Subject: [PATCH] Fix character encoding of docs
+
+..., which are of mixed encoding originally so a simple iconv can't
+fix them.
+---
+ CHANGES | 2 +-
+ README | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/CHANGES b/CHANGES
+index 4568408..5fc1652 100644
+--- a/CHANGES
++++ b/CHANGES
+@@ -5325,7 +5325,7 @@ Daniel Stenberg (12 Nov 2012)
+
+ - [Gabriel Sjoberg brought this change]
+
+- Digst: Add microseconds into nounce calculation
++ Digest: Add microseconds into nounce calculation
+
+ When using only 1 second precision, curl doesn't create new cnonce
+ values quickly enough for all uses.
+diff --git a/README b/README
+index 2ffacc3..cfd6760 100644
+--- a/README
++++ b/README
+@@ -45,5 +45,5 @@ GIT
+ NOTICE
+
+ Curl contains pieces of source code that is Copyright (c) 1998, 1999
+- Kungliga Tekniska H�gskolan. This notice is included here to comply with the
++ Kungliga Tekniska Högskolan. This notice is included here to comply with the
+ distribution terms.
+--
+1.7.1
+
diff --git a/curl.spec b/curl.spec
index 17bd7e2..19ce1fa 100644
--- a/curl.spec
+++ b/curl.spec
@@ -11,10 +11,10 @@ Source2: curlbuild.h
Patch1: 0001-curl-7.31.0-02964ed6.patch
# patch making libcurl multilib ready
-Patch101: 0101-curl-7.30.0-multilib.patch
+Patch101: 0101-curl-7.31.0-multilib.patch
# prevent configure script from discarding -g in CFLAGS (#496778)
-Patch102: 0102-curl-7.30.0-debug.patch
+Patch102: 0102-curl-7.31.0-debug.patch
# use localhost6 instead of ip6-localhost in the curl test-suite
Patch104: 0104-curl-7.19.7-localhost6.patch
@@ -27,7 +27,7 @@ Patch107: 0107-curl-7.21.4-libidn-valgrind.patch
# Fix character encoding of docs, which are of mixed encoding originally so
# a simple iconv can't fix them
-Patch108: 0108-curl-7.30.0-utf8.patch
+Patch108: 0108-curl-7.31.0-utf8.patch
Provides: webclient
URL: http://curl.haxx.se/
^ permalink raw reply related [flat|nested] 2+ messages in thread* [rpms/curl] curl-v8.23.0-3: Rename patches to reflect the curl version they apply to
@ 2026-11-03 12:34 Paul Howarth
0 siblings, 0 replies; 2+ messages in thread
From: Paul Howarth @ 2026-11-03 12:34 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/curl
Branch : curl-v8.23.0-3
Commit : 98764465be78a7ee6a10821d2b0954dd93aaa6fe
Author : Paul Howarth <paul@city-fan.org>
Date : 2010-08-19T15:17:41+01:00
Stats : +116/-116 in 7 file(s)
URL : https://src.fedoraproject.org/rpms/curl/c/98764465be78a7ee6a10821d2b0954dd93aaa6fe?branch=curl-v8.23.0-3
Log:
Rename patches to reflect the curl version they apply to
---
diff --git a/0101-curl-7.20.0-multilib.patch b/0101-curl-7.20.0-multilib.patch
deleted file mode 100644
index 83c1cd8..0000000
--- a/0101-curl-7.20.0-multilib.patch
+++ /dev/null
@@ -1,64 +0,0 @@
- curl-config.in | 22 ++++------------------
- libcurl.pc.in | 1 +
- 2 files changed, 5 insertions(+), 18 deletions(-)
-
-diff --git a/curl-config.in b/curl-config.in
-index ebda129..b404827 100644
---- a/curl-config.in
-+++ b/curl-config.in
-@@ -43,7 +43,6 @@ Available values for OPTION include:
- --libs library linking information
- --prefix curl install prefix
- --protocols newline separated list of enabled protocols
-- --static-libs static libcurl library linking information
- --version output version information
- --vernum output the version information as a number (hexadecimal)
- EOF
-@@ -74,7 +73,7 @@ while test $# -gt 0; do
- ;;
-
- --cc)
-- echo "@CC@"
-+ echo "gcc"
- ;;
-
- --prefix)
-@@ -136,25 +135,12 @@ while test $# -gt 0; do
- ;;
-
- --libs)
-- if test "X@libdir@" != "X/usr/lib" -a "X@libdir@" != "X/usr/lib64"; then
-- CURLLIBDIR="-L@libdir@ "
-- else
-- CURLLIBDIR=""
-- fi
-- if test "X@REQUIRE_LIB_DEPS@" = "Xyes"; then
-- echo ${CURLLIBDIR}-lcurl @LDFLAGS@ @LIBCURL_LIBS@ @LIBS@
-- else
-- echo ${CURLLIBDIR}-lcurl @LDFLAGS@ @LIBS@
-- fi
-- ;;
--
-- --static-libs)
-- echo @libdir@/libcurl.@libext@ @LDFLAGS@ @LIBCURL_LIBS@ @LIBS@
-+ pkg-config libcurl --libs
- ;;
-
- --configure)
-- echo @CONFIGURE_OPTIONS@
-- ;;
-+ pkg-config libcurl --variable=configure_options | sed 's/^"//;s/"$//'
-+ ;;
-
- *)
- echo "unknown option: $1"
---- a/libcurl.pc.in
-+++ b/libcurl.pc.in
-@@ -29,6 +29,7 @@ libdir=@libdir@
- includedir=@includedir@
- supported_protocols="@SUPPORT_PROTOCOLS@"
- supported_features="@SUPPORT_FEATURES@"
-+configure_options=@CONFIGURE_OPTIONS@
-
- Name: libcurl
- URL: http://curl.haxx.se/
diff --git a/0101-curl-7.21.1-multilib.patch b/0101-curl-7.21.1-multilib.patch
new file mode 100644
index 0000000..83c1cd8
--- /dev/null
+++ b/0101-curl-7.21.1-multilib.patch
@@ -0,0 +1,64 @@
+ curl-config.in | 22 ++++------------------
+ libcurl.pc.in | 1 +
+ 2 files changed, 5 insertions(+), 18 deletions(-)
+
+diff --git a/curl-config.in b/curl-config.in
+index ebda129..b404827 100644
+--- a/curl-config.in
++++ b/curl-config.in
+@@ -43,7 +43,6 @@ Available values for OPTION include:
+ --libs library linking information
+ --prefix curl install prefix
+ --protocols newline separated list of enabled protocols
+- --static-libs static libcurl library linking information
+ --version output version information
+ --vernum output the version information as a number (hexadecimal)
+ EOF
+@@ -74,7 +73,7 @@ while test $# -gt 0; do
+ ;;
+
+ --cc)
+- echo "@CC@"
++ echo "gcc"
+ ;;
+
+ --prefix)
+@@ -136,25 +135,12 @@ while test $# -gt 0; do
+ ;;
+
+ --libs)
+- if test "X@libdir@" != "X/usr/lib" -a "X@libdir@" != "X/usr/lib64"; then
+- CURLLIBDIR="-L@libdir@ "
+- else
+- CURLLIBDIR=""
+- fi
+- if test "X@REQUIRE_LIB_DEPS@" = "Xyes"; then
+- echo ${CURLLIBDIR}-lcurl @LDFLAGS@ @LIBCURL_LIBS@ @LIBS@
+- else
+- echo ${CURLLIBDIR}-lcurl @LDFLAGS@ @LIBS@
+- fi
+- ;;
+-
+- --static-libs)
+- echo @libdir@/libcurl.@libext@ @LDFLAGS@ @LIBCURL_LIBS@ @LIBS@
++ pkg-config libcurl --libs
+ ;;
+
+ --configure)
+- echo @CONFIGURE_OPTIONS@
+- ;;
++ pkg-config libcurl --variable=configure_options | sed 's/^"//;s/"$//'
++ ;;
+
+ *)
+ echo "unknown option: $1"
+--- a/libcurl.pc.in
++++ b/libcurl.pc.in
+@@ -29,6 +29,7 @@ libdir=@libdir@
+ includedir=@includedir@
+ supported_protocols="@SUPPORT_PROTOCOLS@"
+ supported_features="@SUPPORT_FEATURES@"
++configure_options=@CONFIGURE_OPTIONS@
+
+ Name: libcurl
+ URL: http://curl.haxx.se/
diff --git a/0102-curl-7.20.0-lrt.patch b/0102-curl-7.20.0-lrt.patch
deleted file mode 100644
index 775f183..0000000
--- a/0102-curl-7.20.0-lrt.patch
+++ /dev/null
@@ -1,30 +0,0 @@
- src/Makefile.am | 2 +-
- tests/libtest/Makefile.am | 2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/src/Makefile.am b/src/Makefile.am
-index 3672458..890893d 100644
---- a/src/Makefile.am
-+++ b/src/Makefile.am
-@@ -49,7 +49,7 @@ include Makefile.inc
- # This might hold -Werror
- CFLAGS += @CURL_CFLAG_EXTRAS@
-
--curl_LDADD = $(top_builddir)/lib/libcurl.la @CURL_LIBS@
-+curl_LDADD = $(top_builddir)/lib/libcurl.la @CURL_LIBS@ -lrt
- curl_DEPENDENCIES = $(top_builddir)/lib/libcurl.la
- BUILT_SOURCES = hugehelp.c
- CLEANFILES = hugehelp.c
-diff --git a/tests/libtest/Makefile.am b/tests/libtest/Makefile.am
-index 70b0f12..6512ce4 100644
---- a/tests/libtest/Makefile.am
-+++ b/tests/libtest/Makefile.am
-@@ -54,7 +54,7 @@ EXTRA_DIST = test75.pl test307.pl test610.pl test613.pl test1013.pl \
- test1022.pl Makefile.inc
-
- # Dependencies (may need to be overriden)
--LDADD = $(top_builddir)/lib/libcurl.la
-+LDADD = $(top_builddir)/lib/libcurl.la -lrt
- DEPENDENCIES = $(top_builddir)/lib/libcurl.la
-
- # Makefile.inc provides the source defines (TESTUTIL, SUPPORTFILES,
diff --git a/0102-curl-7.21.1-lrt.patch b/0102-curl-7.21.1-lrt.patch
new file mode 100644
index 0000000..775f183
--- /dev/null
+++ b/0102-curl-7.21.1-lrt.patch
@@ -0,0 +1,30 @@
+ src/Makefile.am | 2 +-
+ tests/libtest/Makefile.am | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/Makefile.am b/src/Makefile.am
+index 3672458..890893d 100644
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -49,7 +49,7 @@ include Makefile.inc
+ # This might hold -Werror
+ CFLAGS += @CURL_CFLAG_EXTRAS@
+
+-curl_LDADD = $(top_builddir)/lib/libcurl.la @CURL_LIBS@
++curl_LDADD = $(top_builddir)/lib/libcurl.la @CURL_LIBS@ -lrt
+ curl_DEPENDENCIES = $(top_builddir)/lib/libcurl.la
+ BUILT_SOURCES = hugehelp.c
+ CLEANFILES = hugehelp.c
+diff --git a/tests/libtest/Makefile.am b/tests/libtest/Makefile.am
+index 70b0f12..6512ce4 100644
+--- a/tests/libtest/Makefile.am
++++ b/tests/libtest/Makefile.am
+@@ -54,7 +54,7 @@ EXTRA_DIST = test75.pl test307.pl test610.pl test613.pl test1013.pl \
+ test1022.pl Makefile.inc
+
+ # Dependencies (may need to be overriden)
+-LDADD = $(top_builddir)/lib/libcurl.la
++LDADD = $(top_builddir)/lib/libcurl.la -lrt
+ DEPENDENCIES = $(top_builddir)/lib/libcurl.la
+
+ # Makefile.inc provides the source defines (TESTUTIL, SUPPORTFILES,
diff --git a/0103-curl-7.19.4-debug.patch b/0103-curl-7.19.4-debug.patch
deleted file mode 100644
index 256b6b5..0000000
--- a/0103-curl-7.19.4-debug.patch
+++ /dev/null
@@ -1,19 +0,0 @@
- configure.ac | 5 ++++-
- 1 files changed, 4 insertions(+), 1 deletions(-)
-
-diff --git a/configure.ac b/configure.ac
-index af30b8a..ca6c7cc 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -275,7 +275,10 @@ dnl **********************************************************************
-
- CURL_CHECK_COMPILER
- CURL_SET_COMPILER_BASIC_OPTS
--CURL_SET_COMPILER_DEBUG_OPTS
-+
-+dnl do not perturb CFLAGS given by the build system
-+dnl CURL_SET_COMPILER_DEBUG_OPTS
-+
- CURL_SET_COMPILER_OPTIMIZE_OPTS
- CURL_SET_COMPILER_WARNING_OPTS
-
diff --git a/0103-curl-7.21.1-debug.patch b/0103-curl-7.21.1-debug.patch
new file mode 100644
index 0000000..256b6b5
--- /dev/null
+++ b/0103-curl-7.21.1-debug.patch
@@ -0,0 +1,19 @@
+ configure.ac | 5 ++++-
+ 1 files changed, 4 insertions(+), 1 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index af30b8a..ca6c7cc 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -275,7 +275,10 @@ dnl **********************************************************************
+
+ CURL_CHECK_COMPILER
+ CURL_SET_COMPILER_BASIC_OPTS
+-CURL_SET_COMPILER_DEBUG_OPTS
++
++dnl do not perturb CFLAGS given by the build system
++dnl CURL_SET_COMPILER_DEBUG_OPTS
++
+ CURL_SET_COMPILER_OPTIMIZE_OPTS
+ CURL_SET_COMPILER_WARNING_OPTS
+
diff --git a/curl.spec b/curl.spec
index 9e5946d..7ce9499 100644
--- a/curl.spec
+++ b/curl.spec
@@ -15,13 +15,13 @@ Patch1: 0001-curl-7.21.1-a6e088e.patch
Patch2: 0002-curl-7.21.1-5907777.patch
# patch making libcurl multilib ready
-Patch101: 0101-curl-7.20.0-multilib.patch
+Patch101: 0101-curl-7.21.1-multilib.patch
# force -lrt when linking the curl tool and test-cases
-Patch102: 0102-curl-7.20.0-lrt.patch
+Patch102: 0102-curl-7.21.1-lrt.patch
# prevent configure script from discarding -g in CFLAGS (#496778)
-Patch103: 0103-curl-7.19.4-debug.patch
+Patch103: 0103-curl-7.21.1-debug.patch
# use localhost6 instead of ip6-localhost in the curl test-suite
Patch104: 0104-curl-7.19.7-localhost6.patch
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-11-03 12:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-03 12:35 [rpms/curl] curl-v8.23.0-3: rename patches to reflect the curl version they apply to Kamil Dudka
-- strict thread matches above, loose matches on Subject: below --
2026-11-03 12:34 [rpms/curl] curl-v8.23.0-3: Rename " Paul Howarth
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox