- 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:
parent
bd0a74fa85
commit
ad37be2c04
@ -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>
|
||||||
|
|
||||||
|
12
cmake.spec
12
cmake.spec
@ -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}
|
||||||
|
Loading…
Reference in New Issue
Block a user