- fix incorrect requires on libuv1 on non-suse distributions

uses the "CMAKE_MODULE_LINKER_FLAGS".
  * Fortran: Revert 3.27.0 change to module dependency scanning

OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=568
This commit is contained in:
Dirk Mueller 2024-01-19 15:26:53 +00:00 committed by Git OBS Bridge
parent bd0a74fa85
commit ad37be2c04
2 changed files with 13 additions and 8 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Jan 19 15:26:23 UTC 2024 - Dirk Müller <dmueller@suse.com>
- fix incorrect requires on libuv1 on non-suse distributions
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jan 18 15:00:58 UTC 2024 - Ludwig Nussel <lnussel@suse.com> Thu Jan 18 15:00:58 UTC 2024 - Ludwig Nussel <lnussel@suse.com>

View File

@ -76,15 +76,13 @@ BuildRequires: pkgconfig(ncurses)
BuildRequires: pkgconfig(zlib) BuildRequires: pkgconfig(zlib)
%if 0%{?suse_version} > 1500 %if 0%{?suse_version} > 1500
BuildRequires: pkgconfig(libuv) >= 1.28 BuildRequires: pkgconfig(libuv) >= 1.28
%endif
%if "%{flavor}" == ""
Requires: cmake-implementation = %{version}
%endif
%if %{with full}
# Needs a rebuild as libuv will otherwise abort the program with: # Needs a rebuild as libuv will otherwise abort the program with:
# fatal error: libuv version too new: running with libuv 1.X+1 when compiled with libuv 1.X will lead to libuv failures # fatal error: libuv version too new: running with libuv 1.X+1 when compiled with libuv 1.X will lead to libuv failures
%requires_eq libuv1 %requires_eq libuv1
%endif %endif
%if "%{flavor}" == ""
Requires: cmake-implementation = %{version}
%endif
%if 0%{?suse_version} && 0%{?suse_version} <= 1500 %if 0%{?suse_version} && 0%{?suse_version} <= 1500
%define pyver 311 %define pyver 311
%else %else
@ -170,7 +168,9 @@ export CXXFLAGS="$CFLAGS"
%endif %endif
--parallel=0%{jobs} \ --parallel=0%{jobs} \
--verbose \ --verbose \
%if 0%{?suse_version} < 1550 %if 0%{?suse_version} > 1500
--system-libuv \
%else
--no-system-libuv \ --no-system-libuv \
%endif %endif
%if %{with qhelp} %if %{with qhelp}