1
0

Accepting request 1229593 from network:messaging:matrix

- BuildIgnore cargo and rust as they both obsolete the version we
  currently need

OBS-URL: https://build.opensuse.org/request/show/1229593
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/matrix-synapse?expand=0&rev=117
This commit is contained in:
Ana Guerrero 2024-12-10 22:43:40 +00:00 committed by Git OBS Bridge
commit 10fea8bb40
2 changed files with 16 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Dec 9 23:07:09 UTC 2024 - Marcus Rueckert <mrueckert@suse.de>
- BuildIgnore cargo and rust as they both obsolete the version we
currently need
-------------------------------------------------------------------
Tue Dec 3 17:13:57 UTC 2024 - Marcus Rueckert <mrueckert@suse.de>

View File

@ -181,7 +181,16 @@ BuildRequires: %{use_python}-pip
BuildRequires: %{use_python}-poetry-core >= 1.1.0
BuildRequires: %{use_python}-setuptools
BuildRequires: %{use_python}-wheel
BuildRequires: cargo
# workaround for:
# zypper in cargo1.79 cargo cargo-packaging
# Problem: 1: the to be installed cargo-1.81.0-150500.27.21.1.x86_64 obsoletes 'cargo1.79' provided by the to be installed cargo1.79-1.79.0-150500.11.3.1.x86_64
# Solution 1: do not install cargo1.79-1.79.0-150500.11.3.1.x86_64
# Solution 2: do not install cargo-1.81.0-150500.27.21.1.x86_64
#
#!BuildIgnore: cargo
#!BuildIgnore: rust
%global rust_version 1.82
BuildRequires: cargo%{rust_version}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: systemd-rpm-macros