- Do not use pkg_vcmp to decide BuildDependencies: this works based

on 'installed packages' which is not interpreted correctly by the
  scheduler. Rather switch to boolean dependencies.
------------------------------------------------------------------

OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs18?expand=0&rev=44
This commit is contained in:
Adam Majer 2023-02-01 10:04:37 +00:00 committed by Git OBS Bridge
parent 516c9e8303
commit c320abbbe6
2 changed files with 9 additions and 5 deletions

View File

@ -1,4 +1,11 @@
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Feb 1 07:58:26 UTC 2023 - Dominique Leuenberger <dimstar@opensuse.org>
- Do not use pkg_vcmp to decide BuildDependencies: this works based
on 'installed packages' which is not interpreted correctly by the
scheduler. Rather switch to boolean dependencies.
------------------------------------------------------------------
Wed Jan 25 12:01:18 UTC 2023 - Adam Majer <adam.majer@suse.de> Wed Jan 25 12:01:18 UTC 2023 - Adam Majer <adam.majer@suse.de>
- Again use openssl-3, if available. - Again use openssl-3, if available.

View File

@ -286,11 +286,8 @@ BuildRequires: openssl >= %{openssl_req_ver}
BuildRequires: openssl-1_1 >= %{openssl_req_ver} BuildRequires: openssl-1_1 >= %{openssl_req_ver}
%endif %endif
%if %{pkg_vcmp pkgconfig(openssl) > '3.0' } BuildRequires: (libopenssl1_1-hmac if libopenssl-1_1-devel)
BuildRequires: libopenssl3-hmac BuildRequires: (libopenssl3-hmac if libopenssl-3-devel)
%else
BuildRequires: libopenssl1_1-hmac
%endif
# /suse_version # /suse_version
%endif %endif