diff options
author | Ron Olson <tachoknight@gmail.com> | 2018-01-21 15:07:53 -0600 |
---|---|---|
committer | Ron Olson <tachoknight@gmail.com> | 2018-01-21 15:07:53 -0600 |
commit | cbc6761fd20d5d461e19245a407361779905bb38 (patch) | |
tree | 15f3c419e987da7bb16db634528c1106e5ff40b4 | |
parent | 6b6f8603ef7b2f8eca46d2505457a05b82c290d5 (diff) | |
download | swift-lang-cbc6761fd20d5d461e19245a407361779905bb38.tar.gz swift-lang-cbc6761fd20d5d461e19245a407361779905bb38.tar.xz swift-lang-cbc6761fd20d5d461e19245a407361779905bb38.zip |
Pointed build to %{buildroot} and removed the %install section as it was both redundant and not actually working
-rw-r--r-- | swift-lang.spec | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/swift-lang.spec b/swift-lang.spec index b3bd550..9c9464a 100644 --- a/swift-lang.spec +++ b/swift-lang.spec @@ -21,6 +21,7 @@ Source11: https://github.com/apple/swift-cmark/archive/swift-%{swifttag}.t 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,libblocksruntime-static,libatomic-static,libcurl-devel,perl-podlators +ExcludeArch: s390x i686 armv7hl ppc64le aarch64 ppc64 %description Swift is a general-purpose programming language built using @@ -57,14 +58,10 @@ mv ninja-1.7.2 ninja %build swift/utils/build-script --preset=buildbot_linux,no_test install_destdir=%{buildroot} installable_package=%{buildroot}/swift-%{version}-fedora.tar.gz -%install -rm %{buildroot}/swift-%{version}-fedora.tar.gz -chmod 0755 %{buildroot}%{_bindir}/* -chmod 0644 %{buildroot}/usr/share/man/man1/swift.1 - %files +%exclude /swift-%{version}-fedora.tar.gz %{_bindir}/* -%{_mandir}/man1/swift.1.gz +%{_mandir}/man1/* %{_datarootdir}/swift/LICENSE.txt %{_includedir}/* %{_usr}/lib/* |