public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/swift-lang] rawhide: Split runtime libraries into a separate subpackage
@ 2026-06-10 1:46 Link Dupont
0 siblings, 0 replies; only message in thread
From: Link Dupont @ 2026-06-10 1:46 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-10 1:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-10 1:46 [rpms/swift-lang] rawhide: Split runtime libraries into a separate subpackage Link Dupont
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox