From f733cdafb711268079a83eb9417f743af87a630a9d3425ad602eb5a736035bc7 Mon Sep 17 00:00:00 2001 From: Soc Virnyl Estela Date: Mon, 21 Nov 2022 14:20:25 +0000 Subject: [PATCH] - 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 --- juliaup.changes | 1 + juliaup.spec | 11 ++++++----- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/juliaup.changes b/juliaup.changes index 19ddcf2..c1fad1e 100644 --- a/juliaup.changes +++ b/juliaup.changes @@ -11,6 +11,7 @@ Mon Nov 21 14:00:13 UTC 2022 - Soc Virnyl Estela * (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 diff --git a/juliaup.spec b/juliaup.spec index 89e72e5..63f8bc7 100644 --- a/juliaup.spec +++ b/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