automatic version update by autodist [release 1.77.0-1mamba;Tue Mar 26 2024]

This commit is contained in:
Automatic Build System 2024-03-28 01:56:57 +01:00
parent 057d8130de
commit a15b092fdc
2 changed files with 9 additions and 45 deletions

View File

@ -1,33 +0,0 @@
--- src/llvm/cmake/config-ix.cmake 2017-12-14 22:25:15.988551420 +0100
+++ src/llvm/cmake/config-ix.cmake.no_llvm_ocaml_bindings 2017-12-14 22:35:08.087110357 +0100
@@ -564,29 +564,6 @@
# Keep the version requirements in sync with bindings/ocaml/README.txt.
include(FindOCaml)
include(AddOCaml)
-if(WIN32)
- message(STATUS "OCaml bindings disabled.")
-else()
- find_package(OCaml)
- if( NOT OCAML_FOUND )
- message(STATUS "OCaml bindings disabled.")
- else()
- if( OCAML_VERSION VERSION_LESS "4.00.0" )
- message(STATUS "OCaml bindings disabled, need OCaml >=4.00.0.")
- else()
- find_ocamlfind_package(ctypes VERSION 0.4 OPTIONAL)
- if( HAVE_OCAML_CTYPES )
- message(STATUS "OCaml bindings enabled.")
- find_ocamlfind_package(oUnit VERSION 2 OPTIONAL)
- set(LLVM_BINDINGS "${LLVM_BINDINGS} ocaml")
-
- set(LLVM_OCAML_INSTALL_PATH "${OCAML_STDLIB_PATH}" CACHE STRING
- "Install directory for LLVM OCaml packages")
- else()
- message(STATUS "OCaml bindings disabled, need ctypes >=0.4.")
- endif()
- endif()
- endif()
-endif()
+message(STATUS "OCaml bindings disabled.")
string(REPLACE " " ";" LLVM_BINDINGS_LIST "${LLVM_BINDINGS}")

View File

@ -1,6 +1,6 @@
%define stage1 1
Name: rustc
Version: 1.76.0
Version: 1.77.0
Release: 1mamba
Summary: The Rust programming language, designed to be a safe, concurrent, practical language
Group: Applications/Development
@ -9,21 +9,20 @@ Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.rust-lang.org
Source: https://static.rust-lang.org/dist/rustc-%{version}-src.tar.gz
Patch0: rustc-1.25.0-disable-llvm-ocaml-binding.patch
License: MIT
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libcurl-devel
BuildRequires: libgcc
BuildRequires: libgit2-devel
BuildRequires: libopenssl-devel
BuildRequires: libstdc++6-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
BuildRequires: libgit2-devel >= 1.8.0
%if "%{stage1}" != "1"
BuildRequires: rustc
%endif
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description
The Rust programming language, designed to be a safe, concurrent, practical language.
@ -48,7 +47,6 @@ This package contains the documentation for %{name}.
%setup -q -n %{name}-%{version}-src
#-D -T
#:<< _EOF
#%patch0 -p0
cat <<EOF > config.toml
# see config.toml.example for more possible options
@ -95,8 +93,8 @@ rpath = false
EOF
%build
:<< _EOF
./x.py build %{_smp_mflags}
#:<< _EOF
#./x.py build %{_smp_mflags}
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -140,14 +138,10 @@ cd -
%files -n lib%{name}
%defattr(-,root,root)
#%{_libdir}/libLLVM-11-rust-%{version}-stable.so*
%{_libdir}/rustlib/src/rust/Cargo.lock
#%{_libdir}/libchalk_derive-*.so
#%{_libdir}/libserde_derive-*.so
%{_libdir}/librustc*.so
%{_libdir}/libstd-*.so
%{_libdir}/libtest-*.so
#%{_libdir}/libtracing_attributes-*.so
#%{_libdir}/libtest-*.so
%dir %{_libdir}/rustlib
%{_libdir}/rustlib/components
%{_libdir}/rustlib/rust-installer-version
@ -192,6 +186,9 @@ cd -
#%doc README.md
%changelog
* Tue Mar 26 2024 Automatic Build System <autodist@openmamba.org> 1.77.0-1mamba
- automatic version update by autodist
* Sat Feb 10 2024 Automatic Build System <autodist@openmamba.org> 1.76.0-1mamba
- automatic version update by autodist