|
| 1 | +%include global.inc |
1 | 2 | %include metadata.inc |
2 | 3 |
|
3 | | -%global debug_package %{nil} |
4 | | - |
5 | | -Name: %{package_name} |
6 | | -Version: %{package_version} |
7 | | -Release: 1%{?dist} |
8 | | -Summary: %{package_summary} |
9 | | -License: %{package_license} |
10 | | -URL: %{package_url} |
11 | | - |
12 | 4 | Source0: https://github.com/apple/swift/archive/swift-%{swift_version}.tar.gz#/swift.tar.gz |
13 | 5 | Source1: https://github.com/apple/swift-corelibs-libdispatch/archive/swift-%{swift_version}.tar.gz#/corelibs-libdispatch.tar.gz |
14 | 6 | Source2: https://github.com/apple/swift-corelibs-foundation/archive/swift-%{swift_version}.tar.gz#/corelibs-foundation.tar.gz |
@@ -44,7 +36,6 @@ Source31: https://github.com/apple/swift-format/archive/swift-%{swift_vers |
44 | 36 | Source32: https://github.com/apple/swift-lmdb/archive/swift-%{swift_version}.tar.gz#/swift-lmdb.tar.gz |
45 | 37 | Source33: https://github.com/apple/swift-markdown/archive/swift-%{swift_version}.tar.gz#/swift-markdown.tar.gz |
46 | 38 |
|
47 | | - |
48 | 39 | Patch0: patches/hwasan_symbolize.patch |
49 | 40 |
|
50 | 41 | BuildRequires: clang |
@@ -94,15 +85,7 @@ Requires: tzdata |
94 | 85 | ExclusiveArch: x86_64 aarch64 |
95 | 86 |
|
96 | 87 | %description |
97 | | -Swift is a general-purpose programming language built using |
98 | | -a modern approach to safety, performance, and software design |
99 | | -patterns. |
100 | | - |
101 | | -The goal of the Swift project is to create the best available |
102 | | -language for uses ranging from systems programming, to mobile |
103 | | -and desktop apps, scaling up to cloud services. Most |
104 | | -importantly, Swift is designed to make writing and maintaining |
105 | | -correct programs easier for the developer. |
| 88 | +%include description.inc |
106 | 89 |
|
107 | 90 | %prep |
108 | 91 | %setup -q -c -n %{swift_source_location} -a 0 -a 1 -a 2 -a 3 -a 4 -a 5 -a 6 -a 7 -a 8 -a 9 -a 10 -a 11 -a 12 -a 13 -a 14 -a 15 -a 16 -a 17 -a 18 -a 19 -a 20 -a 21 -a 22 -a 23 -a 24 -a 25 -a 26 -a 27 -a 28 -a 29 -a 30 -a 31 -a 32 -a 33 |
|
0 commit comments