From 9fcab0ceadba14cbf9c53fdad895c2dda1c29c75 Mon Sep 17 00:00:00 2001 From: corinnekrych Date: Sat, 9 Jan 2016 22:10:42 +0100 Subject: [PATCH] /usr/share filter --- swift.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/swift.spec b/swift.spec index 4fc9412..dc8846c 100644 --- a/swift.spec +++ b/swift.spec @@ -24,6 +24,7 @@ Build apple swift compiler from source %prep rm -fr * gzip -dc ../SOURCES/swift.tar.gz | tar -xvvf - +gzip -dc ../SOURCES/swift-integration-tests.tar.gz | tar -xvvf - gzip -dc ../SOURCES/clang.tar.gz | tar -xvvf - gzip -dc ../SOURCES/cmark.tar.gz | tar -xvvf - gzip -dc ../SOURCES/corelibs-foundation.tar.gz | tar -xvvf - @@ -33,6 +34,7 @@ gzip -dc ../SOURCES/lldb.tar.gz | tar -xvvf - gzip -dc ../SOURCES/llvm.tar.gz | tar -xvvf - gzip -dc ../SOURCES/package-manager.tar.gz | tar -xvvf - mv swift-swift-%{tag} swift +mv swift-integration-tests-swift-%{tag} swift-integration-tests mv swift-clang-swift-%{tag} clang mv swift-cmark-0.22.0 cmark mv swift-corelibs-foundation-swift-%{tag} swift-corelibs-foundation @@ -55,9 +57,12 @@ rm -fr %{buildroot}/swift-%{ver}-%{rel}-fedora23.tar.gz %{_libdir}/* %{_usr}/lib/* %{_mandir}/* +%{_datarootdir}/* %clean -rm -rf %{buildroot} +echo "DATAROOTDIR==" %{_datarootdir} +echo "BUILDROOT=" %{buildroot} +#rm -rf %{buildroot} #The changelog is built automatically from Git history %changelog