diff --git a/anda/langs/nim/nim-nightly/nim-nightly.spec b/anda/langs/nim/nim-nightly/nim-nightly.spec index 3511ec32b5..e399d18ea0 100644 --- a/anda/langs/nim/nim-nightly/nim-nightly.spec +++ b/anda/langs/nim/nim-nightly/nim-nightly.spec @@ -12,10 +12,7 @@ Summary: Imperative, multi-paradigm, compiled programming language License: MIT and BSD URL: https://nim-lang.org Source0: https://github.com/nim-lang/Nim/archive/%commit.tar.gz -Source1: nim.1 -Source2: nimgrep.1 -Source4: nimsuggest.1 -BuildRequires: gcc mold git gcc-c++ nodejs openssl-devel pkgconfig(bash-completion) gc-devel pcre pcre-devel +BuildRequires: gcc mold git gcc-c++ nodejs openssl-devel pkgconfig(bash-completion) gc-devel help2man Requires: redhat-rpm-config gcc Conflicts: choosenim # somehow wrong name and never noticed @@ -57,8 +54,13 @@ order of priority). This package provides documentation and reference manual for the language and its standard library. + %endif +%pkg_completion -Bz nim nimble +%pkg_completion -Bn nimgrep +%pkg_completion -Bn nimpretty +%pkg_completion -Bn nimsuggest %prep %autosetup -n Nim-%commit @@ -81,17 +83,14 @@ nim c --noNimblePath --skipUserCfg --skipParentCfg --hints:off -d:danger koch.ni koch boot -d:release -d:nimStrictMode --lib:lib %ifarch x86_64 -koch docs & +./koch docs --skipUserCfg --skipParentCfg --hints:off & %endif (cd lib; nim c --app:lib -d:danger -d:createNimRtl -t:-fPIE -l:-pie nimrtl.nim) & koch tools --skipUserCfg --skipParentCfg --hints:off -d:release -t:-fPIE -l:-pie & -nim c -d:danger -t:-fPIE -l:-pie nimsuggest/nimsuggest.nim & wait -%ifarch x86_64 -sed -i '/ - 2.3.1^20260522.561b417 +- more manfiles +- no more nimgrep manfile (cannot generate) +- no longer dep on pcre