Compare commits

...

8 Commits

View File

@ -1,6 +1,6 @@
%define stage1 1
Name: rustc
Version: 1.80.1
Version: 1.87.0
Release: 1mamba
Summary: The Rust programming language, designed to be a safe, concurrent, practical language
Group: Applications/Development
@ -40,7 +40,6 @@ Summary: Documentation for %{name}
%description apidocs
This package contains the documentation for %{name}.
%debug_package
%prep
%setup -q -n %{name}-%{version}-src
@ -80,10 +79,16 @@ docdir = "share/doc/rust"
# https://github.com/rust-lang/rust/issues/47745
codegen-units = 1
codegen-units-std = 1
%ifarch %{ix86}
debuginfo-level = 0
debuginfo-level-std = 0
debug = false
%else
debuginfo-level = 1
debuginfo-level-std = 2
%endif
channel = "stable"
description = "openmamba %{name} %{epoch}:%{version}-%{release}"
description = "openmamba %{name} %{?epoch:%epoch:}%{version}-%{release}"
rpath = false
frame-pointers = true
deny-warnings = false
@ -98,6 +103,10 @@ EOF
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%ifarch %{ix86}
export CARGO_INCREMENTAL=1
%endif
DESTDIR=%{buildroot} ./x.py install %{_smp_mflags}
chmod +x %{buildroot}%{_libdir}/lib*.so*
@ -120,8 +129,6 @@ cd -
%clean
#[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files
#-f %{name}.lang
@ -138,7 +145,7 @@ cd -
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/rustlib/src/rust/Cargo.lock
#%{_libdir}/rustlib/src/rust/Cargo.lock
%{_libdir}/libLLVM-*-rust-%{version}-stable.so*
%{_libdir}/libLLVM.so.*-rust-%{version}-stable
%{_libdir}/librustc*.so
@ -176,16 +183,37 @@ cd -
%files apidocs
%defattr(-,root,root)
%dir %{_datadir}/doc/rust
%{_datadir}/doc/rust/COPYRIGHT
%{_datadir}/doc/rust/LICENSE-*
%{_datadir}/doc/rust/README.md
%{_datadir}/doc/rust/README.md.old
%{_datadir}/doc/rust/html/.lock
%dir %{_datadir}/doc/rust/html
%{_datadir}/doc/rust/html/*
%{_datadir}/doc/rust/*
#%doc README.md
%changelog
* Fri May 23 2025 Automatic Build System <autodist@openmamba.org> 1.87.0-1mamba
- automatic version update by autodist
* Fri Apr 04 2025 Automatic Build System <autodist@openmamba.org> 1.86.0-1mamba
- automatic version update by autodist
* Wed Mar 19 2025 Automatic Build System <autodist@openmamba.org> 1.85.1-1mamba
- automatic version update by autodist
* Fri Feb 21 2025 Automatic Build System <autodist@openmamba.org> 1.85.0-1mamba
- automatic version update by autodist
* Sat Feb 01 2025 Automatic Build System <autodist@openmamba.org> 1.84.1-1mamba
- automatic version update by autodist
* Fri Jan 10 2025 Automatic Build System <autodist@openmamba.org> 1.84.0-1mamba
- automatic version update by autodist
* Sat Dec 21 2024 Automatic Build System <autodist@openmamba.org> 1.83.0-1mamba
- automatic version update by autodist
* Fri Oct 18 2024 Automatic Build System <autodist@openmamba.org> 1.82.0-1mamba
- automatic version update by autodist
* Fri Sep 06 2024 Automatic Build System <autodist@openmamba.org> 1.81.0-1mamba
- automatic version update by autodist
* Fri Aug 09 2024 Automatic Build System <autodist@openmamba.org> 1.80.1-1mamba
- automatic version update by autodist