public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/curl] curl-v8.23.0-3: Make curl-config arch-independent
@ 2026-11-03 12:39
0 siblings, 0 replies; only message in thread
From: @ 2026-11-03 12:39 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/curl
Branch : curl-v8.23.0-3
Commit : e685607ffd9adf33f28101db012be952b5196072
Author : Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Date : 2024-10-01T10:16:16+02:00
Stats : +4/-0 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/curl/c/e685607ffd9adf33f28101db012be952b5196072?branch=curl-v8.23.0-3
Log:
Make curl-config arch-independent
The final /usr/bin/curl-config file had a comment like
"prefix=/usr # used in /usr/lib64" or "prefix=/usr # used in /usr/lib",
depending on the arch. This causes the following error on upgrades from f40
for people who have both libcurl-devel.i686 and libcurl-devel.x86_64
installed:
Transaction failed: Rpm transaction failed.
- file /usr/bin/curl-config conflicts between attempted installs of
libcurl-devel-8.9.1-2.fc41.i686 and libcurl-devel-8.9.1-2.fc41.x86_64
The comment is actually not useful at all after the variable is expanded,
since it's not clear what is meant by "used in /usr/lib64". Just drop it.
With this change, the packages are constinstallable again.
---
diff --git a/curl.spec b/curl.spec
index 0c2163c..3c25207 100644
--- a/curl.spec
+++ b/curl.spec
@@ -234,6 +234,10 @@ sed -e 's|^35$|35,52|' -i tests/data/test323
eval "$cmd"
)
+# avoid unnecessary arch-dependent line in the processed file
+sed -e '/# Used in @libdir@/d' \
+ -i curl-config.in
+
%build
# regenerate the configure script and Makefile.in files
autoreconf -fiv
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-03 12:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-03 12:39 [rpms/curl] curl-v8.23.0-3: Make curl-config arch-independent
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox