From a4bb6c5060b2a23dba16fe2af378f82dafc47b95 Mon Sep 17 00:00:00 2001 From: Ron Olson Date: Fri, 15 Mar 2019 16:56:13 -0500 Subject: Modules work in REPL --- swift-lang.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'swift-lang.spec') 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 5.0-0.50.20190310git4d6e741 +* Fri Mar 15 2019 Ron Olson 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 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 5.0-0.50.20190310git4d6e741 -- cgit