diff options
-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/* |