diff --git a/abi_used_libs b/abi_used_libs --- a/abi_used_libs +++ b/abi_used_libs @@ -2,4 +2,3 @@ libdl.so.2 libm.so.6 libpthread.so.0 -librt.so.1 diff --git a/files/0002-remove-nim-gdb-install.patch b/files/0002-remove-nim-gdb-install.patch new file mode 100644 --- /dev/null +++ b/files/0002-remove-nim-gdb-install.patch @@ -0,0 +1,15 @@ +diff --git a/install.sh b/install.sh +index 5934353..4b19df0 100755 +--- a/install.sh ++++ b/install.sh +@@ -104,10 +104,6 @@ if [ $# -eq 1 ] ; then + + cp bin/nim $bindir/nim + chmod 755 $bindir/nim +- cp bin/nim-gdb $bindir/nim-gdb +- chmod 755 $bindir/nim-gdb +- cp bin/nim-gdb.bash $bindir/nim-gdb.bash +- chmod 755 $bindir/nim-gdb.bash + cp config/nim.cfg $configdir/nim.cfg + chmod 644 $configdir/nim.cfg + cp config/nimdoc.cfg $configdir/nimdoc.cfg diff --git a/package.yml b/package.yml --- a/package.yml +++ b/package.yml @@ -1,8 +1,8 @@ name : nim -version : 1.2.0 -release : 12 +version : 1.2.2 +release : 13 source : - - https://nim-lang.org/download/nim-1.2.0-linux_x64.tar.xz : ef043d5b46afb3fc3d654e88680b51f138fa2e843745af3ab355a6f65cf998a6 + - https://nim-lang.org/download/nim-1.2.2.tar.xz : e92aaa73d4974571a4690ca7f34a21e20ff5ea8780d05e33167976c7def6728f homepage : https://nim-lang.org/ license : MIT component : programming @@ -11,6 +11,7 @@ Nim is a statically typed, imperative programming language. setup : | %patch < $pkgfiles/0001-Change-to-correct-dirs.patch + %patch -p1 < $pkgfiles/0002-remove-nim-gdb-install.patch builddeps : - nodejs-devel # check rundeps : @@ -28,11 +29,12 @@ install -Dm00755 bin/* $installdir/usr/bin install -Dm00644 tools/nim.bash-completion $installdir/usr/share/bash-completion/completions/nim install -Dm00644 dist/nimble/nimble.bash-completion $installdir/usr/share/bash-completion/completions/nimble + install -Dm00644 dist/nimble/nimble.zsh-completion $installdir/usr/share/zsh/site-functions/_nimble mv $installdir%libdir%/nim/compiler.nimble $installdir%libdir%/nim/compiler/ # compiler directory should not be part of binary package according to https://nim-lang.github.io/Nim/packaging.html rm -r $installdir%libdir%/nim/compiler - + # remove overview.html and /usr/share/nim/ directory from binary package rm -r $installdir/usr/share/nim @@ -42,4 +44,4 @@ for cat in lib async float io bind rodfiles js debugger global threads do ./koch tests --pedantic category $cat -d:nimCoroutines || (echo "$cat test category failed" && exit 1) - done \ No newline at end of file + done diff --git a/pspec_x86_64.xml b/pspec_x86_64.xml --- a/pspec_x86_64.xml +++ b/pspec_x86_64.xml @@ -314,15 +314,16 @@ /usr/lib64/nim/wrappers/tinyc.nim /usr/share/bash-completion/completions/nim /usr/share/bash-completion/completions/nimble + /usr/share/zsh/functions/_nimble - - 2020-05-27 - 1.2.0 + + 2020-06-24 + 1.2.2 Packaging update Albert Krenz albert.krenz+solus@mailbox.org \ No newline at end of file