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

This commit is contained in:
madomado
2024-10-04 22:10:33 +08:00
committed by GitHub
parent c6c93eeb9c
commit 5ceaadd8d2
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