fix(nim): include dist dir (#2146) (#2192)

(cherry picked from commit 5ceaadd8d2)

Co-authored-by: madomado <madonuko@outlook.com>
This commit is contained in:
Raboneko
2024-10-04 09:55:34 -07:00
committed by GitHub
parent ef02556bf6
commit cd21d4387e
2 changed files with 6 additions and 2 deletions
+3 -1
View File
@@ -7,7 +7,7 @@
Name: nim-nightly
Version: %ver^%commit_date.%shortcommit
Release: 1%?dist
Release: 2%?dist
Summary: Imperative, multi-paradigm, compiled programming language
License: MIT and BSD
URL: https://nim-lang.org
@@ -124,6 +124,8 @@ ln -s %_prefix/lib/nim %buildroot%_prefix/lib/nim/lib || true
rm -rf %buildroot/nim || true
rm %buildroot%_bindir/*.bat || true
cp -r dist %_datadir/nim/
%files
%license copying.txt dist/nimble/license.txt
+3 -1
View File
@@ -3,7 +3,7 @@
Name: nim
Version: 2.2.0
Release: 1%?dist
Release: 2%?dist
Summary: Imperative, multi-paradigm, compiled programming language
License: MIT and BSD
URL: https://nim-lang.org
@@ -118,6 +118,8 @@ rm -rf %buildroot/nim || true
rm %buildroot%_bindir/*.bat || true
rm -rf %buildroot%_bindir/empty.txt
cp -r dist %_datadir/nim/
%files
%license copying.txt dist/nimble/license.txt