|
|
|
|
@ -36,7 +36,7 @@ Class: EVAL
|
|
|
|
|
Group: Language |
|
|
|
|
License: MIT/Apache |
|
|
|
|
Version: %{V_opkg} |
|
|
|
|
Release: 20181015 |
|
|
|
|
Release: 20181016 |
|
|
|
|
|
|
|
|
|
# list of sources |
|
|
|
|
Source0: https://static.rust-lang.org/dist/rust-%{V_dist}-x86_64-unknown-linux-gnu.tar.gz |
|
|
|
|
@ -44,7 +44,7 @@ Source1: https://static.rust-lang.org/dist/rust-%{V_dist}-x86_64-unknown-fr
|
|
|
|
|
|
|
|
|
|
# build information |
|
|
|
|
BuildPreReq: OpenPKG, openpkg >= 20160101 |
|
|
|
|
PreReq: OpenPKG, openpkg >= 20160101 |
|
|
|
|
PreReq: OpenPKG, openpkg >= 20160101, x509 |
|
|
|
|
|
|
|
|
|
%description |
|
|
|
|
Rust is a systems programming language that runs blazingly fast, |
|
|
|
|
@ -85,6 +85,8 @@ PreReq: OpenPKG, openpkg >= 20160101
|
|
|
|
|
( echo "#!/bin/sh" |
|
|
|
|
echo "LD_LIBRARY_PATH=%{l_prefix}/lib/rust:%{l_prefix}/lib:/usr/lib:/lib" |
|
|
|
|
echo "export LD_LIBRARY_PATH" |
|
|
|
|
echo "SSL_CERT_FILE=%{l_prefix}/etc/x509/public-ca.crt.pem" |
|
|
|
|
echo "export SSL_CERT_FILE" |
|
|
|
|
echo "exec %{l_prefix}/libexec/rust/$prog \${1+\"\$@\"}" |
|
|
|
|
) >$prog.sh |
|
|
|
|
%{l_shtool} install -c -m 755 \ |
|
|
|
|
|