Merge pull request #127 from terrapkg/w/fix-choosenim

Fix choosenim
This commit is contained in:
Cappy Ishihara
2023-01-15 21:42:26 +07:00
committed by GitHub
+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