summaryrefslogtreecommitdiffstats
path: root/swift-lang.spec
diff options
context:
space:
mode:
authorRon Olson <tachoknight@gmail.com>2019-03-15 16:56:13 -0500
committerRon Olson <tachoknight@gmail.com>2019-03-15 16:56:13 -0500
commita4bb6c5060b2a23dba16fe2af378f82dafc47b95 (patch)
treed59cbba305bf9c3265b21116255e070d563a1fc9 /swift-lang.spec
parent6935682642ccb1f5693a0995287a551acf002e1d (diff)
downloadswift-lang-a4bb6c5060b2a23dba16fe2af378f82dafc47b95.tar.gz
swift-lang-a4bb6c5060b2a23dba16fe2af378f82dafc47b95.tar.xz
swift-lang-a4bb6c5060b2a23dba16fe2af378f82dafc47b95.zip
Modules work in REPL
Diffstat (limited to 'swift-lang.spec')
-rw-r--r--swift-lang.spec8
1 files changed, 7 insertions, 1 deletions
diff --git a/swift-lang.spec b/swift-lang.spec
index f7f9d7e..1ba511e 100644
--- a/swift-lang.spec
+++ b/swift-lang.spec
@@ -177,6 +177,9 @@ mkdir -p %{buildroot}/usr/lib/swift
cp -r %{_builddir}/usr/lib/swift/* %{buildroot}/usr/lib/swift
rm %{buildroot}/usr/lib/swift/clang
cp -r %{_builddir}/usr/lib/clang %{buildroot}/usr/lib/swift
+ln -fs /usr/lib/swift/clang/7.0.0/include %{buildroot}/usr/lib/swift/clang/include
+ln -fs /usr/lib/swift/clang/7.0.0/lib %{buildroot}/usr/lib/swift/clang/lib
+ln -fs /usr/lib/swift/clang/7.0.0/share %{buildroot}/usr/lib/swift/clang/share
ln -fs /usr/lib/swift %{buildroot}/usr/lib/swift-lldb/swift
chmod 0755 %{buildroot}/usr/lib/swift/linux/libswiftDispatch.so
chmod 0755 %{buildroot}/usr/lib/swift/linux/libFoundation.so
@@ -229,7 +232,10 @@ install -m 0644 %{_builddir}/usr/share/man/man1/swift.1 %{buildroot}%{_mandir}/m
%changelog
-* Fri Mar 14 2019 Ron Olson <tachoknight@gmail.com> 5.0-0.50.20190310git4d6e741
+* Fri Mar 15 2019 Ron Olson <tachoknight@gmail.com> 5.0-0.50.20190310git4d6e741
+- Modules did not work properly in the REPL due to additional lib path;
+ fixed with symlinks to the lower directory structures
+* Fri Mar 15 2019 Ron Olson <tachoknight@gmail.com> 5.0-0.50.20190310git4d6e741
- python2-sphinx was removed from Fedora after 30 so it will use the python3
version
* Thu Mar 14 2019 Ron Olson <tachoknight@gmail.com> 5.0-0.50.20190310git4d6e741