public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Ivana Varekova <varekova@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/curl] curl-v8.23.0-3: - fix multilib problem - #181290 - curl-devel.i386 not installable together
Date: Tue, 03 Nov 2026 12:32:25 GMT	[thread overview]
Message-ID: <179370914511.1.16817042500071168533.rpms-curl-843ec6099637@fedoraproject.org> (raw)

        A new commit has been pushed.

        Repo   : rpms/curl
        Branch : curl-v8.23.0-3
        Commit : 843ec6099637cad797f9e457813a025bef6dce0e
        Author : Ivana Varekova <varekova@fedoraproject.org>
        Date   : 2006-02-23T11:58:07+00:00
        Stats  : +20/-2 in 1 file(s)
        URL    : https://src.fedoraproject.org/rpms/curl/c/843ec6099637cad797f9e457813a025bef6dce0e?branch=curl-v8.23.0-3

        Log:
        - fix multilib problem - #181290 - curl-devel.i386 not installable together
with curl-devel.x86-64

---
diff --git a/curl.spec b/curl.spec
index c122273..10fb5c1 100644
--- a/curl.spec
+++ b/curl.spec
@@ -1,7 +1,7 @@
 Summary: A utility for getting files from remote servers (FTP, HTTP, and others).
 Name: curl 
 Version: 7.15.1
-Release: 1.2.1
+Release: 2
 License: MIT
 Group: Applications/Internet
 Source: http://curl.haxx.se/download/%{name}-%{version}.tar.bz2
@@ -56,6 +56,20 @@ rm -rf $RPM_BUILD_ROOT
 %makeinstall
 rm -f ${RPM_BUILD_ROOT}%{_libdir}/libcurl.la
 
+curlcsuffix=`echo %{_libdir} | sed s,/usr/,,`
+mv  $RPM_BUILD_ROOT%{_bindir}/curl-config $RPM_BUILD_ROOT%{_bindir}/curl-config-$curlcsuffix
+cat > $RPM_BUILD_ROOT%{_bindir}/curl-config  <<EOF
+#!/bin/sh
+if [ -e %{_bindir}/curl-config-lib64 ]; then 
+  exec %{_bindir}/curl-config-lib64 "\$@"
+elif [ -e %{_bindir}/curl-config-* ]; then 
+  curlcfile="\`ls %{_bindir}/curl-config-* | head\`"
+  exec \$curlcfile "\$@" 
+fi 
+EOF
+chmod 755 $RPM_BUILD_ROOT%{_bindir}/curl-config
+
+
 # don't need curl's copy of the certs; use openssl's
 find ${RPM_BUILD_ROOT} -name ca-bundle.crt -exec rm -f '{}' \;
 
@@ -82,7 +96,7 @@ rm -rf $RPM_BUILD_ROOT
 %files devel
 %defattr(-,root,root)
 %doc docs/examples docs/INTERNALS
-%{_bindir}/curl-config
+%{_bindir}/curl-config*
 %{_includedir}/curl
 %{_libdir}/*.a
 %{_libdir}/*.so
@@ -91,6 +105,10 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man3/*
 
 %changelog
+* Thu Feb 23 2006 Ivana Varekova <varekova@redhat.com> - 7.15.1-2
+- fix multilib problem - #181290 - 
+  curl-devel.i386 not installable together with curl-devel.x86-64
+
 * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 7.15.1-1.2.1
 - bump again for double-long bug on ppc(64)
 

                 reply	other threads:[~2026-11-03 12:32 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179370914511.1.16817042500071168533.rpms-curl-843ec6099637@fedoraproject.org \
    --to=varekova@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox