generated from pool/new_package
openSUSE Tumbleweed's ncurses-devel does not provide a libcurses.so symlink (unlike Fedora), causing llbuild to fail at link time with 'cannot find -lcurses'. Use CMake's FindCurses module to properly discover the ncurses library path on all platforms.
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
- Downloads the Swift release configuration from the official Swift repository
- Parses the repository versions for all Swift components
- Updates the
swift-lang.specfile with new source URLs and version information - Removes old forge sources and adds new ones based on the Swift release configuration
Requirements
curl- for downloading configuration filesjq- for parsing JSON configurationsed- 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.
Description
Languages
Shell
100%