This commit is contained in:
+10
-2
@@ -31,8 +31,16 @@ rm -rf %{buildroot}
|
||||
mkdir -p %{buildroot}%{install_dir}/bin
|
||||
|
||||
# Copy binary into buildroot
|
||||
cp %{SOURCE0} %{buildroot}%{install_dir}/bin
|
||||
cp %{SOURCE0} %{buildroot}%{install_dir}/bin/micromamba
|
||||
chmod 755 %{buildroot}%{install_dir}/bin/micromamba
|
||||
|
||||
# Create symlink
|
||||
mkdir -p %{buildroot}/usr/bin
|
||||
ln -sf %{install_dir}/bin/micromamba %{buildroot}/usr/bin/micromamba
|
||||
|
||||
%files
|
||||
%{install_dir}
|
||||
%attr(755, root, root) %dir %{install_dir}
|
||||
%attr(755, root, root) %{install_dir}/bin/micromamba
|
||||
/usr/bin/micromamba
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user