/[packages]/cauldron/rust/current/SPECS/rust.spec
ViewVC logotype

Diff of /cauldron/rust/current/SPECS/rust.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1623398 by akien, Mon Sep 7 21:35:27 2020 UTC revision 1623405 by akien, Mon Sep 7 21:59:50 2020 UTC
# Line 94  ExclusiveArch:  %{rust_arches} Line 94  ExclusiveArch:  %{rust_arches}
94  %endif  %endif
95  Source0:        https://static.rust-lang.org/dist/%{rustc_package}.tar.xz  Source0:        https://static.rust-lang.org/dist/%{rustc_package}.tar.xz
96    
 # Upstream patch to fix typenum crate build on i386/i486/i586.  
 Patch10:        typenum-pr115-fix-log2-rounding-error.patch  
   
97  # Get the Rust triple for any arch.  # Get the Rust triple for any arch.
98  %{lua: function rust_triple(arch)  %{lua: function rust_triple(arch)
99    local abi = "gnu"    local abi = "gnu"
# Line 435  test -f '%{local_rust_root}/bin/rustc' Line 432  test -f '%{local_rust_root}/bin/rustc'
432    
433  %setup -q -n %{rustc_package}  %setup -q -n %{rustc_package}
434    
 %patch10 -p1  
   
435  %if "%{python}" == "python3"  %if "%{python}" == "python3"
436  sed -i.try-py3 -e '/try python2.7/i try python3 "$@"' ./configure  sed -i.try-py3 -e '/try python2.7/i try python3 "$@"' ./configure
437  %endif  %endif

Legend:
Removed from v.1623398  
changed lines
  Added in v.1623405

  ViewVC Help
Powered by ViewVC 1.1.30