SHA256
1
0
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:
Soc Virnyl Estela 2022-11-21 14:20:25 +00:00 committed by Git OBS Bridge
parent 41312d0628
commit f733cdafb7
2 changed files with 7 additions and 5 deletions

View File

@ -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 * (cargo-release) start next development iteration 1.7.26-alpha.0
- Strip debug symbols through cargo_config. - 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> Sat Oct 15 08:57:29 UTC 2022 - Soc Virnyl Estela <socvirnyl.estela@gmail.com>

View File

@ -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-rc4%{?2:-%{2}} \
Provides: %{1}-1.8.0%{?2:-%{2}} \ Provides: %{1}-1.8.0%{?2:-%{2}} \
Provides: %{1}-1.8.1%{?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 Name: juliaup
Version: 1.7.27 Version: 1.7.27
@ -109,18 +110,18 @@ cp %{SOURCE2} .cargo/config
%if 0%{?rhel} > 7 || 0%{?fedora} %if 0%{?rhel} > 7 || 0%{?fedora}
unset LIBSSH2_SYS_USE_PKG_CONFIG unset LIBSSH2_SYS_USE_PKG_CONFIG
export RUSTFLAGS="%{rustflags}" export RUSTFLAGS="%{rustflags}"
cargo build --offline --release --all-features cargo build --offline --release --no-default-features
%else %else
%{cargo_build} %{cargo_build} --no-default-features
%endif %endif
%install %install
%if 0%{?rhel} > 7 || 0%{?fedora} %if 0%{?rhel} > 7 || 0%{?fedora}
unset LIBSSH2_SYS_USE_PKG_CONFIG unset LIBSSH2_SYS_USE_PKG_CONFIG
export RUSTFLAGS="%{rustflags}" 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 %else
%{cargo_install} %{cargo_install} --no-default-features
%endif %endif
mkdir -p %{buildroot}%{_sysconfdir}/alternatives mkdir -p %{buildroot}%{_sysconfdir}/alternatives