Fix choosenim

Signed-off-by: windowsboy111 <wboy111@outlook.com>
This commit is contained in:
windowsboy111
2023-01-15 22:36:22 +08:00
committed by GitHub
parent ce0aa35b5f
commit 01cf077459
+4 -4
View File
@@ -1,6 +1,6 @@
Name: choosenim
Version: 0.8.4
Release: %autorelease
Release: 2%{?dist}
Summary: Tool for easily installing and managing multiple versions of the Nim programming language
License: BSD-3-Clause
URL: https://github.com/dom96/choosenim
@@ -21,9 +21,9 @@ sources, enabling you to easily switch between stable and development compilers.
%install
mkdir -p %{buildroot}/%{_datadir}/licenses/%{name}/
mkdir -p %{buildroot}/%{_datadir}/doc/%{name}/
install -Dm 755 %{SOURCE0} -t "%{buildroot}/%{_bindir}/choosenim"
install -Dm 644 %{SOURCE1} -t "%{buildroot}/%{_datadir}/licenses/%{name}/LICENSE"
install -Dm 644 %{SOURCE2} -t "%{buildroot}/%{_datadir}/doc/%{name}/readme.md"
install -Dm 755 %{SOURCE0} "%{buildroot}/%{_bindir}/choosenim"
install -Dm 644 %{SOURCE1} "%{buildroot}/%{_datadir}/licenses/%{name}/LICENSE"
install -Dm 644 %{SOURCE2} "%{buildroot}/%{_datadir}/doc/%{name}/readme.md"
%files
%doc readme.md