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: Split runtime libraries into a separate subpackage
Date: Wed, 10 Jun 2026 01:46:44 GMT	[thread overview]
Message-ID: <178105600474.1.1725747762838751386.rpms-swift-lang-d55bd0b7ed95@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/swift-lang
Branch : rawhide
Commit : d55bd0b7ed95dec7d1c7207cc65e467c348265ae
Author : Link Dupont <link@sub-pop.net>
Date   : 2026-06-10T01:46:12+00:00
Stats  : +27/-9 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/swift-lang/c/d55bd0b7ed95dec7d1c7207cc65e467c348265ae?branch=rawhide

Log:
Split runtime libraries into a separate subpackage

---
diff --git a/swift-lang.spec b/swift-lang.spec
index 70f1f58..360ba06 100644
--- a/swift-lang.spec
+++ b/swift-lang.spec
@@ -278,6 +278,7 @@ BuildRequires:  kernel-cross-headers
 Requires:       glibc-devel
 Requires:       lld
 Requires:       gcc
+Requires:       %{name}-runtime = %{version}-%{release}
 
 Recommends:     libstdc++-devel
 Recommends:     gcc-c++
@@ -315,6 +316,18 @@ and desktop apps, scaling up to cloud services. Most
 importantly, Swift is designed to make writing and maintaining 
 correct programs easier for the developer. 
 
+%package runtime
+Summary:        Swift runtime libraries
+
+%description runtime
+Swift is a general-purpose programming language built using 
+a modern approach to safety, performance, and software design 
+patterns.
+
+This package contains the Swift runtime libraries needed to run 
+applications built with Swift.
+
+
 
 %prep
 %forgesetup -a
@@ -535,15 +548,6 @@ export QA_SKIP_RPATHS=1
 # Man pages
 %{_mandir}/man1/swift.1.gz
 
-# Swift runtime libraries (what users link against)
-%{_libdir}/libswift*.so*
-%{_libdir}/libFoundation*.so*
-%{_libdir}/libdispatch.so*
-%{_libdir}/libBlocksRuntime.so*
-%{_libdir}/libTesting.so*
-%{_libdir}/libXCTest.so*
-%{_libdir}/lib_*.so*
-
 # SourceKit/IndexStore public libraries
 %{_libdir}/libIndexStore.so*
 %{_libdir}/libsourcekitdInProc.so*
@@ -561,6 +565,17 @@ export QA_SKIP_RPATHS=1
 # Data files (diagnostics, features.json, etc.)
 %{_datadir}/swift/
 
+%files runtime
+%license swift/LICENSE.txt
+
+%{_libdir}/libswift*.so*
+%{_libdir}/libFoundation*.so*
+%{_libdir}/libdispatch.so*
+%{_libdir}/libBlocksRuntime.so*
+%{_libdir}/libTesting.so*
+%{_libdir}/libXCTest.so*
+%{_libdir}/lib_*.so*
+
 # Dynamic linker configuration
 %{_sysconfdir}/ld.so.conf.d/swiftlang.conf
 
@@ -568,6 +583,9 @@ export QA_SKIP_RPATHS=1
 %post -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 
+%post runtime -p /sbin/ldconfig
+%postun runtime -p /sbin/ldconfig
+
 
 %changelog
 %autochangelog

                 reply	other threads:[~2026-06-10  1:46 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=178105600474.1.1725747762838751386.rpms-swift-lang-d55bd0b7ed95@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