From 575fb43757b28ca674b6915f8650c34bee555e02 Mon Sep 17 00:00:00 2001 From: Ron Olson Date: Thu, 18 Jan 2018 11:20:49 -0600 Subject: Reformatted and removed old test files --- apple-swift.zip | Bin 183111149 -> 0 bytes get-sources.sh | 23 ----------------------- swift-lang.spec | 42 +++++++++++++++++++++--------------------- 3 files changed, 21 insertions(+), 44 deletions(-) delete mode 100644 apple-swift.zip delete mode 100755 get-sources.sh diff --git a/apple-swift.zip b/apple-swift.zip deleted file mode 100644 index 69d7698..0000000 Binary files a/apple-swift.zip and /dev/null differ diff --git a/get-sources.sh b/get-sources.sh deleted file mode 100755 index 1de40de..0000000 --- a/get-sources.sh +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/bash - -# These variables refer to the version of Swift you -# want to build, and must match what Apple has -# made available at https://github.com/apple/swift/releases -# (but note *not* to prepend "swift-" to it) -TAG=DEVELOPMENT-SNAPSHOT-2018-01-15-a - -wget https://github.com/apple/swift/archive/swift-${TAG}.tar.gz -O swift.tar.gz -wget https://github.com/apple/swift-compiler-rt/archive/swift-${TAG}.tar.gz -O swift-compiler-rt.tar.gz -wget https://github.com/apple/swift-corelibs-libdispatch/archive/swift-${TAG}.tar.gz -O corelibs-libdispatch.tar.gz -wget https://github.com/apple/swift-corelibs-foundation/archive/swift-${TAG}.tar.gz -O corelibs-foundation.tar.gz -wget https://github.com/apple/swift-integration-tests/archive/swift-${TAG}.tar.gz -O swift-integration-tests.tar.gz -wget https://github.com/apple/swift-corelibs-xctest/archive/swift-${TAG}.tar.gz -O corelibs-xctest.tar.gz -wget https://github.com/apple/swift-clang/archive/swift-${TAG}.tar.gz -O clang.tar.gz -wget https://github.com/apple/swift-package-manager/archive/swift-${TAG}.tar.gz -O package-manager.tar.gz -wget https://github.com/apple/swift-lldb/archive/swift-${TAG}.tar.gz -O lldb.tar.gz -wget https://github.com/apple/swift-llvm/archive/swift-${TAG}.tar.gz -O llvm.tar.gz -wget https://github.com/apple/swift-llbuild/archive/swift-${TAG}.tar.gz -O llbuild.tar.gz -wget https://github.com/apple/swift-cmark/archive/swift-${TAG}.tar.gz -O cmark.tar.gz -wget https://github.com/apple/swift-xcode-playground-support/archive/swift-${TAG}.tar.gz -O swift-xcode-playground-support.tar.gz -# Dunno if we need this as it's already a dependency.... -#wget https://github.com/ninja-build/ninja/archive/v1.7.2.tar.gz -O ninja.tar.gz diff --git a/swift-lang.spec b/swift-lang.spec index 640497d..fac6780 100644 --- a/swift-lang.spec +++ b/swift-lang.spec @@ -3,28 +3,28 @@ %global sourcedir %{_tmppath}/%{sourcename} %global builddir %{sourcedir}/builds %global swifttag DEVELOPMENT-SNAPSHOT-2018-01-15-a -Name: swift-lang -Version: 4.1_DEV -Release: 1%{?dist} -Summary: Apple's Swift programming language -License: ASL 2.0 -URL: https://swift.org -Source0: https://github.com/apple/swift/archive/swift-%{swifttag}.tar.gz#/swift.tar.gz -Source1: https://github.com/apple/swift-compiler-rt/archive/swift-%{swifttag}.tar.gz#/swift-compiler-rt.tar.gz -Source2: https://github.com/apple/swift-corelibs-libdispatch/archive/swift-%{swifttag}.tar.gz#/corelibs-libdispatch.tar.gz -Source3: https://github.com/apple/swift-corelibs-foundation/archive/swift-%{swifttag}.tar.gz#/corelibs-foundation.tar.gz -Source4: https://github.com/apple/swift-integration-tests/archive/swift-%{swifttag}.tar.gz#/swift-integration-tests.tar.gz -Source5: https://github.com/apple/swift-corelibs-xctest/archive/swift-%{swifttag}.tar.gz#/corelibs-xctest.tar.gz -Source6: https://github.com/apple/swift-clang/archive/swift-%{swifttag}.tar.gz#/clang.tar.gz -Source7: https://github.com/apple/swift-package-manager/archive/swift-%{swifttag}.tar.gz#/package-manager.tar.gz -Source8: https://github.com/apple/swift-lldb/archive/swift-%{swifttag}.tar.gz#/lldb.tar.gz -Source9: https://github.com/apple/swift-llvm/archive/swift-%{swifttag}.tar.gz#/llvm.tar.gz -Source10: https://github.com/apple/swift-llbuild/archive/swift-%{swifttag}.tar.gz#/llbuild.tar.gz -Source11: https://github.com/apple/swift-cmark/archive/swift-%{swifttag}.tar.gz#/cmark.tar.gz -Source12: https://github.com/apple/swift-xcode-playground-support/archive/swift-%{swifttag}.tar.gz#/swift-xcode-playground-support.tar.gz -Source13: https://github.com/ninja-build/ninja/archive/v1.7.2.tar.gz#/ninja.tar.gz +Name: swift-lang +Version: 4.1_DEV +Release: 1%{?dist} +Summary: Apple's Swift programming language +License: ASL 2.0 +URL: https://swift.org +Source0: https://github.com/apple/swift/archive/swift-%{swifttag}.tar.gz#/swift.tar.gz +Source1: https://github.com/apple/swift-compiler-rt/archive/swift-%{swifttag}.tar.gz#/swift-compiler-rt.tar.gz +Source2: https://github.com/apple/swift-corelibs-libdispatch/archive/swift-%{swifttag}.tar.gz#/corelibs-libdispatch.tar.gz +Source3: https://github.com/apple/swift-corelibs-foundation/archive/swift-%{swifttag}.tar.gz#/corelibs-foundation.tar.gz +Source4: https://github.com/apple/swift-integration-tests/archive/swift-%{swifttag}.tar.gz#/swift-integration-tests.tar.gz +Source5: https://github.com/apple/swift-corelibs-xctest/archive/swift-%{swifttag}.tar.gz#/corelibs-xctest.tar.gz +Source6: https://github.com/apple/swift-clang/archive/swift-%{swifttag}.tar.gz#/clang.tar.gz +Source7: https://github.com/apple/swift-package-manager/archive/swift-%{swifttag}.tar.gz#/package-manager.tar.gz +Source8: https://github.com/apple/swift-lldb/archive/swift-%{swifttag}.tar.gz#/lldb.tar.gz +Source9: https://github.com/apple/swift-llvm/archive/swift-%{swifttag}.tar.gz#/llvm.tar.gz +Source10: https://github.com/apple/swift-llbuild/archive/swift-%{swifttag}.tar.gz#/llbuild.tar.gz +Source11: https://github.com/apple/swift-cmark/archive/swift-%{swifttag}.tar.gz#/cmark.tar.gz +Source12: https://github.com/apple/swift-xcode-playground-support/archive/swift-%{swifttag}.tar.gz#/swift-xcode-playground-support.tar.gz +Source13: https://github.com/ninja-build/ninja/archive/v1.7.2.tar.gz#/ninja.tar.gz BuildRequires: clang,libicu-devel,gcc-c++,cmake,libuuid-devel,libedit-devel,swig,pkgconfig,libbsd-devel,libxml2-devel,libsqlite3x-devel,python-devel,ninja-build -Requires: clang,libicu-devel +Requires: clang,libicu-devel %description Swift is a general-purpose programming language built using -- cgit