package.spec 872 B

12345678910111213141516171819202122232425
  1. Name: rustup-init
  2. Version: 1.27.1
  3. Release: 2%{?dist}
  4. Summary: Rustup: the Rust toolchain installer
  5. License: MPL-2.0
  6. Source0: https://static.rust-lang.org/rustup/archive/%{version}/%{_arch}-unknown-linux-gnu/rustup-init
  7. %description
  8. Rustup installs The Rust Programming Language from the official release channels, enabling you to easily switch between stable, beta, and nightly compilers and keep them updated. It makes cross-compiling simpler with binary builds of the standard library for common platforms.
  9. %install
  10. rm -vrf $RPM_BUILD_ROOT
  11. mkdir -vp $RPM_BUILD_ROOT/%{_bindir}
  12. cp -v $RPM_SOURCE_DIR/%{name} $RPM_BUILD_ROOT/%{_bindir}
  13. chmod +x $RPM_BUILD_ROOT/%{_bindir}/%{name}
  14. %files
  15. %{_bindir}/%{name}
  16. %changelog
  17. * Fri Sep 27 2024 Matt A. Tobin <email@mattatobin.com>
  18. - Chmod rustup-init
  19. * Fri Sep 27 2024 Matt A. Tobin <email@mattatobin.com>
  20. - Inital creation