Accepting request 1160422 from multimedia:libs

- Avoid %if %{pkg_vcmp gcc < 8}, instead replicate the condition
  from the BuildRequires section.

OBS-URL: https://build.opensuse.org/request/show/1160422
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pipewire?expand=0&rev=109
This commit is contained in:
Ana Guerrero 2024-03-26 18:24:14 +00:00 committed by Git OBS Bridge
commit f4f5a32541
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Mar 19 07:42:26 UTC 2024 - Richard Biener <rguenther@suse.com>
- Avoid %if %{pkg_vcmp gcc < 8}, instead replicate the condition
from the BuildRequires section.
-------------------------------------------------------------------
Wed Mar 13 10:12:26 UTC 2024 - Antonio Larrosa <alarrosa@suse.com>

View File

@ -194,7 +194,7 @@ This package provides the PipeWire shared library.
Summary: PipeWire libjack replacement libraries
Group: Development/Libraries/C and C++
Requires(post): update-alternatives
Requires(postun): update-alternatives
Requires(postun):update-alternatives
%description libjack-%{apiver_str}
PipeWire is a server and user space API to deal with multimedia pipelines.
@ -396,7 +396,7 @@ sed -ie "s/version : '0.3.72'/version : '%{version}'/" %{P:0}
%endif
%build
%if %{pkg_vcmp gcc < 8}
%if 0%{?suse_version} <= 1500
export CC=gcc-11
export CXX=g++-11
%endif