automatic version update by autodist [release 1.50.0-1mamba;Sat Feb 27 2021]

This commit is contained in:
Automatic Build System 2024-01-05 17:35:27 +01:00
parent ca79028918
commit cef33ffef6

View File

@ -1,6 +1,6 @@
%define stage1 1 %define stage1 1
Name: rustc Name: rustc
Version: 1.47.0 Version: 1.50.0
Release: 1mamba Release: 1mamba
Summary: The Rust programming language, designed to be a safe, concurrent, practical language Summary: The Rust programming language, designed to be a safe, concurrent, practical language
Group: Applications/Development Group: Applications/Development
@ -24,7 +24,6 @@ Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%if "%{stage1}" != "1" %if "%{stage1}" != "1"
BuildRequires: rustc BuildRequires: rustc
%endif %endif
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
The Rust programming language, designed to be a safe, concurrent, practical language. The Rust programming language, designed to be a safe, concurrent, practical language.
@ -47,8 +46,6 @@ This package contains the documentation for %{name}.
%prep %prep
%setup -q -n %{name}-%{version}-src %setup -q -n %{name}-%{version}-src
#-D -T
#:<< _EOF
#%patch0 -p0 #%patch0 -p0
cat <<EOF > config.toml cat <<EOF > config.toml
@ -89,12 +86,11 @@ rpath = false
EOF EOF
%build %build
#:<< _EOF ./x.py build %{_smp_mflags}
./x.py build
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
DESTDIR=%{buildroot} ./x.py install DESTDIR=%{buildroot} ./x.py install %{_smp_mflags}
chmod +x %{buildroot}%{_libdir}/lib*.so* chmod +x %{buildroot}%{_libdir}/lib*.so*
@ -103,8 +99,12 @@ cd %{buildroot}%{_libdir}
%ifarch %{ix86} %ifarch %{ix86}
ln -sf rustlib/i686-unknown-linux-gnu/lib/*.so . ln -sf rustlib/i686-unknown-linux-gnu/lib/*.so .
%else %else
%ifarch arm
ln -sf rustlib/arm-unknown-linux-gnueabi/lib/*.so .
%else
ln -sf rustlib/%{_arch}-unknown-linux-gnu/lib/*.so . ln -sf rustlib/%{_arch}-unknown-linux-gnu/lib/*.so .
%endif %endif
%endif
cd - cd -
%find_lang %{name} || touch %{name}.lang %find_lang %{name} || touch %{name}.lang
@ -141,9 +141,10 @@ cd -
%files -n lib%{name} %files -n lib%{name}
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/libLLVM-11-rust-%{version}-stable.so* #%{_libdir}/libLLVM-11-rust-%{version}-stable.so*
%{_libdir}/rustlib/src/rust/Cargo.lock %{_libdir}/rustlib/src/rust/Cargo.lock
%{_libdir}/libchalk_derive-*.so %{_libdir}/libchalk_derive-*.so
%{_libdir}/libserde_derive-*.so
%{_libdir}/librustc*.so %{_libdir}/librustc*.so
%{_libdir}/libstd-*.so %{_libdir}/libstd-*.so
%{_libdir}/libtest-*.so %{_libdir}/libtest-*.so
@ -159,14 +160,24 @@ cd -
%dir %{_libdir}/rustlib/src/rust %dir %{_libdir}/rustlib/src/rust
%dir %{_libdir}/rustlib/src/rust/library %dir %{_libdir}/rustlib/src/rust/library
%{_libdir}/rustlib/src/rust/library/* %{_libdir}/rustlib/src/rust/library/*
%dir %{_libdir}/rustlib/src/rust/src/llvm-project
%dir %{_libdir}/rustlib/src/rust/src/llvm-project/libunwind
%{_libdir}/rustlib/src/rust/src/llvm-project/libunwind/.clang-format
%{_libdir}/rustlib/src/rust/src/llvm-project/libunwind/*
%{_libdir}/rustlib/uninstall.sh %{_libdir}/rustlib/uninstall.sh
%ifarch %{ix86} %ifarch %{ix86}
%dir %{_libdir}/rustlib/i686-unknown-linux-gnu %dir %{_libdir}/rustlib/i686-unknown-linux-gnu
%{_libdir}/rustlib/i686-unknown-linux-gnu/* %{_libdir}/rustlib/i686-unknown-linux-gnu/*
%else %else
%ifarch arm
%dir %{_libdir}/rustlib/%{_arch}-unknown-linux-gnueabi
%{_libdir}/rustlib/%{_arch}-unknown-linux-gnueabi/*
%else
%dir %{_libdir}/rustlib/%{_arch}-unknown-linux-gnu %dir %{_libdir}/rustlib/%{_arch}-unknown-linux-gnu
%{_libdir}/rustlib/%{_arch}-unknown-linux-gnu/* %{_libdir}/rustlib/%{_arch}-unknown-linux-gnu/*
%endif %endif
%endif
%{_prefix}/libexec/cargo-credential-1password
%files apidocs %files apidocs
%defattr(-,root,root) %defattr(-,root,root)
@ -182,6 +193,9 @@ cd -
#%doc README.md #%doc README.md
%changelog %changelog
* Sat Feb 27 2021 Automatic Build System <autodist@mambasoft.it> 1.50.0-1mamba
- automatic version update by autodist
* Tue Nov 10 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.47.0-1mamba * Tue Nov 10 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.47.0-1mamba
- update to 1.47.0 - update to 1.47.0