forked from pool/juliaup
- Set to no default features. We don't use self update and Windows.
OBS-URL: https://build.opensuse.org/package/show/science/juliaup?expand=0&rev=52
This commit is contained in:
parent
41312d0628
commit
f733cdafb7
@ -11,6 +11,7 @@ Mon Nov 21 14:00:13 UTC 2022 - Soc Virnyl Estela <socvirnyl.estela@gmail.com>
|
||||
* (cargo-release) start next development iteration 1.7.26-alpha.0
|
||||
|
||||
- Strip debug symbols through cargo_config.
|
||||
- Set to no default features. We don't use self update and Windows.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 15 08:57:29 UTC 2022 - Soc Virnyl Estela <socvirnyl.estela@gmail.com>
|
||||
|
11
juliaup.spec
11
juliaup.spec
@ -68,7 +68,8 @@ Provides: %{1}-1.8.0-rc3%{?2:-%{2}} \
|
||||
Provides: %{1}-1.8.0-rc4%{?2:-%{2}} \
|
||||
Provides: %{1}-1.8.0%{?2:-%{2}} \
|
||||
Provides: %{1}-1.8.1%{?2:-%{2}} \
|
||||
Provides: %{1}-1.8.2%{?2:-%{2}}
|
||||
Provides: %{1}-1.8.2%{?2:-%{2}} \
|
||||
Provides: %{1}-1.8.3%{?2:-%{2}}
|
||||
|
||||
Name: juliaup
|
||||
Version: 1.7.27
|
||||
@ -109,18 +110,18 @@ cp %{SOURCE2} .cargo/config
|
||||
%if 0%{?rhel} > 7 || 0%{?fedora}
|
||||
unset LIBSSH2_SYS_USE_PKG_CONFIG
|
||||
export RUSTFLAGS="%{rustflags}"
|
||||
cargo build --offline --release --all-features
|
||||
cargo build --offline --release --no-default-features
|
||||
%else
|
||||
%{cargo_build}
|
||||
%{cargo_build} --no-default-features
|
||||
%endif
|
||||
|
||||
%install
|
||||
%if 0%{?rhel} > 7 || 0%{?fedora}
|
||||
unset LIBSSH2_SYS_USE_PKG_CONFIG
|
||||
export RUSTFLAGS="%{rustflags}"
|
||||
cargo install --offline --no-track --root="%{buildroot}%{_prefix}" --path .
|
||||
cargo install --offline --release --no-default-features --no-track --root="%{buildroot}%{_prefix}" --path .
|
||||
%else
|
||||
%{cargo_install}
|
||||
%{cargo_install} --no-default-features
|
||||
%endif
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/alternatives
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user