public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Link Dupont <link@sub-pop.net>
To: git-commits@fedoraproject.org
Subject: [rpms/swift-lang] rawhide: Move libIndexStore.so to private toolchain library path (RHBZ#2493390)
Date: Wed, 01 Jul 2026 10:14:59 GMT	[thread overview]
Message-ID: <178290089930.1.3343273083252788975.rpms-swift-lang-a12a511b59d1@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/swift-lang
Branch : rawhide
Commit : a12a511b59d10a590ae8b01a1b2298c7d6062d5c
Author : Link Dupont <link@sub-pop.net>
Date   : 2026-06-30T11:05:02+00:00
Stats  : +9/-9 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/swift-lang/c/a12a511b59d10a590ae8b01a1b2298c7d6062d5c?branch=rawhide

Log:
Move libIndexStore.so to private toolchain library path (RHBZ#2493390)

---
diff --git a/swift-lang.spec b/swift-lang.spec
index dfb6e96..92beeef 100644
--- a/swift-lang.spec
+++ b/swift-lang.spec
@@ -459,15 +459,15 @@ if [ -f %{_builddir}/build/fedora_final/swift-linux-%{_arch}/lib/libsourcekitdIn
     cp -a %{_builddir}/build/fedora_final/swift-linux-%{_arch}/lib/libsourcekitdInProc.so %{_builddir}/usr/lib/
 fi
 
-# Install SourceKit/IndexStore public libraries
+# Install private libraries to toolchain lib dir
 for lib in libIndexStore.so libIndexStore.so.17.0 libsourcekitdInProc.so libswiftDemangle.so; do
     if [ -f %{_builddir}/usr/lib/$lib ]; then
-        install -m 0755 %{_builddir}/usr/lib/$lib %{buildroot}%{_libdir}/
+        install -m 0755 %{_builddir}/usr/lib/$lib %{buildroot}%{_libexecdir}/swift/%{version}/lib/
     fi
 done
-# Create any missing version symlinks
-if [ -f %{buildroot}%{_libdir}/libIndexStore.so.17.0 ] && [ ! -e %{buildroot}%{_libdir}/libIndexStore.so ]; then
-    ln -sf libIndexStore.so.17.0 %{buildroot}%{_libdir}/libIndexStore.so
+# Create any missing version symlinks in private dir
+if [ -f %{buildroot}%{_libexecdir}/swift/%{version}/lib/libIndexStore.so.17.0 ] && [ ! -e %{buildroot}%{_libexecdir}/swift/%{version}/lib/libIndexStore.so ]; then
+    ln -sf libIndexStore.so.17.0 %{buildroot}%{_libexecdir}/swift/%{version}/lib/libIndexStore.so
 fi
 
 # Install lldb libraries to %{_libexecdir} (private, bundled with Swift toolchain)
@@ -552,10 +552,10 @@ export QA_SKIP_RPATHS=1
 # Man pages
 %{_mandir}/man1/swift.1.gz
 
-# SourceKit/IndexStore public libraries
-%{_libdir}/libIndexStore.so*
-%{_libdir}/libsourcekitdInProc.so*
-%{_libdir}/libswiftDemangle.so*
+# SourceKit/IndexStore/SwiftDemangle private libraries
+%{_libexecdir}/swift/%{version}/lib/libIndexStore.so*
+%{_libexecdir}/swift/%{version}/lib/libsourcekitdInProc.so*
+%{_libexecdir}/swift/%{version}/lib/libswiftDemangle.so*
 
 # Compatibility symlink for module lookup
 %{_libdir}/swift

                 reply	other threads:[~2026-07-01 10:14 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=178290089930.1.3343273083252788975.rpms-swift-lang-a12a511b59d1@fedoraproject.org \
    --to=link@sub-pop.net \
    --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