mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
fix(nim): include dist dir (#2146)
This commit is contained in:
@@ -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,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
|
||||
|
||||
Reference in New Issue
Block a user