The swift-lang package
Find a file
2026-01-06 13:50:41 +00:00
.gitignore Update to Swift 6.2-RELEASE 2025-09-22 21:32:18 -04:00
changelog Convert to %autorelease and %autochangelog 2025-09-16 22:59:30 -04:00
cmake.patch Refactor sources and patches 2025-09-18 05:57:23 -04:00
cmark.patch Refactor sources and patches 2025-09-18 05:57:23 -04:00
fedora-presets.ini Install libIndexStore.so 2026-01-04 06:52:30 +00:00
llbuild.patch Refactor sources and patches 2025-09-18 05:57:23 -04:00
llvm-project.patch Refactor sources and patches 2025-09-18 05:57:23 -04:00
ninja.patch Refactor sources and patches 2025-09-18 05:57:23 -04:00
README.md Add update-swift-version.sh script 2025-09-20 23:22:27 -04:00
sources Update to Swift 6.2-RELEASE 2025-09-22 21:32:18 -04:00
swift-corelibs-foundation.patch Refactor sources and patches 2025-09-18 05:57:23 -04:00
swift-corelibs-libdispatch.patch Refactor sources and patches 2025-09-18 05:57:23 -04:00
swift-foundation.patch Refactor sources and patches 2025-09-18 05:57:23 -04:00
swift-lang.spec Install versioned libIndexStore.so 2026-01-06 13:50:41 +00:00
swift.patch Refactor build procedure to entirely self-contained, multi-stage bootstrapping (RHBZ#2390031) 2025-12-21 23:56:19 +00:00
swiftlang.conf Added swift libraries to ldconfig cache 2024-07-19 07:54:31 -05:00
swiftpm.patch Refactor sources and patches 2025-09-18 05:57:23 -04:00
update-swift-version.sh Add update-swift-version.sh script 2025-09-20 23:22:27 -04:00

Swift Language Fedora Package

update-swift-version.sh

A script to update the Swift language package to a new version by automatically downloading the official Swift configuration and updating the RPM spec file.

Usage

./update-swift-version.sh <swift-version>

Example

./update-swift-version.sh 6.1.3

What it does

  1. Downloads the Swift release configuration from the official Swift repository
  2. Parses the repository versions for all Swift components
  3. Updates the swift-lang.spec file with new source URLs and version information
  4. Removes old forge sources and adds new ones based on the Swift release configuration

Requirements

  • curl - for downloading configuration files
  • jq - for parsing JSON configuration
  • sed - for updating the spec file

After running

Review the changes to swift-lang.spec and remove any patches that are no longer needed for the new version.