|
1 | 1 | %global debug_package %{nil}
|
2 | 2 | %global linux_version fedora
|
3 |
| -%global swifttag 5.5.2-RELEASE |
| 3 | +%global swifttag 5.5.3-RELEASE |
4 | 4 | %global swiftbuild swift-source
|
5 | 5 | %global icu_version 65-1
|
6 | 6 | %global yams_version 4.0.2
|
7 | 7 | %global sap_version 0.4.3
|
8 | 8 | %global swift_crypto_version 1.1.5
|
9 | 9 | %global ninja_version 1.10.2
|
| 10 | +%global package_version 5.5.3 |
10 | 11 |
|
11 | 12 | Name: swiftlang
|
12 |
| -Version: 5.5.2 |
| 13 | +Version: 5.5.3 |
13 | 14 | Release: 1%{?dist}
|
14 |
| -Summary: Apple's Swift programming language |
15 |
| -License: ASL 2.0 and Unicode |
16 |
| -URL: https://swift.org |
| 15 | +Summary: The Swift programming language |
| 16 | +License: Apache 2.0 |
| 17 | +URL: https://www.swift.org |
17 | 18 |
|
18 | 19 | Source0: https://github.com/apple/swift/archive/swift-%{swifttag}.tar.gz#/swift.tar.gz
|
19 | 20 | Source1: https://github.com/apple/swift-corelibs-libdispatch/archive/swift-%{swifttag}.tar.gz#/corelibs-libdispatch.tar.gz
|
@@ -142,12 +143,12 @@ swift/utils/build-script --preset=buildbot_linux,no_test install_destdir=%{_buil
|
142 | 143 |
|
143 | 144 |
|
144 | 145 | %install
|
145 |
| -mkdir -p %{buildroot}%{_libexecdir}/swift/ |
146 |
| -cp -r %{_builddir}/usr/* %{buildroot}%{_libexecdir}/swift |
| 146 | +mkdir -p %{buildroot}%{_libexecdir}/swift/%{package_version} |
| 147 | +cp -r %{_builddir}/usr/* %{buildroot}%{_libexecdir}/swift/%{package_version} |
147 | 148 | mkdir -p %{buildroot}%{_bindir}
|
148 |
| -ln -fs %{_libexecdir}/swift/bin/swift %{buildroot}%{_bindir}/swift |
149 |
| -ln -fs %{_libexecdir}/swift/bin/swiftc %{buildroot}%{_bindir}/swiftc |
150 |
| -ln -fs %{_libexecdir}/swift/bin/sourcekit-lsp %{buildroot}%{_bindir}/sourcekit-lsp |
| 149 | +ln -fs %{_libexecdir}/swift/%{package_version}/bin/swift %{buildroot}%{_bindir}/swift |
| 150 | +ln -fs %{_libexecdir}/swift/%{package_version}/bin/swiftc %{buildroot}%{_bindir}/swiftc |
| 151 | +ln -fs %{_libexecdir}/swift/%{package_version}/bin/sourcekit-lsp %{buildroot}%{_bindir}/sourcekit-lsp |
151 | 152 | mkdir -p %{buildroot}%{_mandir}/man1
|
152 | 153 | cp %{_builddir}/usr/share/man/man1/swift.1 %{buildroot}%{_mandir}/man1/swift.1
|
153 | 154 |
|
|
0 commit comments