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] f44: Move libIndexStore.so to private toolchain library path (RHBZ#2493390)
Date: Wed, 01 Jul 2026 10:19:51 GMT	[thread overview]
Message-ID: <178290119104.1.12532671317515951316.rpms-swift-lang-50f7ca358e31@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/swift-lang
Branch : f44
Commit : 50f7ca358e3197bcdd5fc429b491dd49886e8e30
Author : Link Dupont <link@sub-pop.net>
Date   : 2026-07-01T10:18:55+00:00
Stats  : +9/-9 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/swift-lang/c/50f7ca358e3197bcdd5fc429b491dd49886e8e30?branch=f44

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

---
diff --git a/swift-lang.spec b/swift-lang.spec
index 360ba06..b24bf79 100644
--- a/swift-lang.spec
+++ b/swift-lang.spec
@@ -455,15 +455,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)
@@ -548,10 +548,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:19 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=178290119104.1.12532671317515951316.rpms-swift-lang-50f7ca358e31@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