cmake 3.26.3-1 (aarch64) 2023-17398
9999

Status published
Submitter benbullard79 [@T] cox.net
Platform rolling
Repository main
URL https://abf.openmandriva.org/build_lists/329919
Packages
cmake-3.26.3-1.aarch64.binary
cmake-3.26.3-1.aarch64.source
cmake-debuginfo-3.26.3-1.aarch64.debuginfo
cmake-debugsource-3.26.3-1.aarch64.binary
cmake-doc-3.26.3-1.aarch64.binary
cmake-qtgui-3.26.3-1.aarch64.binary
cmake-qtgui-debuginfo-3.26.3-1.aarch64.debuginfo
Build Date 2023-04-05 21:53:55 +0000 UTC
Last Updated 2023-04-06 17:12:55.013083049 +0000 UTC
$ git diff --patch-with-stat --summary 2602ff301e9d8104af73c803e31e4d71bd78b0cd..0a57b3692619f2caef427b11294f1a5461302111

 .abf.yml        | 2 +-
 check-update.sh | 2 ++
 cmake.macros    | 4 ++++
 cmake.spec      | 2 +-
 4 files changed, 8 insertions(+), 2 deletions(-)
 create mode 100755 check-update.sh

diff --git a/.abf.yml b/.abf.yml
index 6fdb102..6ad9ab5 100644
--- a/.abf.yml
+++ b/.abf.yml
@@ -1,2 +1,2 @@
 sources:
-  cmake-3.24.3.tar.gz: 256d6a57a57fa6ceaacd6a2daf708baefd33850c
+  cmake-3.26.3.tar.gz: 03881b9004a56b5b324503f48ded62afb55a5f52
diff --git a/check-update.sh b/check-update.sh
new file mode 100755
index 0000000..64e29fc
--- /dev/null
+++ b/check-update.sh
@@ -0,0 +1,2 @@
+#!/bin/sh
+curl https://cmake.org/download/ 2>/dev/null |grep 'Latest Release' |sed -e 's,.*(,,;s,).*,,' |sort -V |tail -n1
diff --git a/cmake.macros b/cmake.macros
index 3da4581..e2af27c 100644
--- a/cmake.macros
+++ b/cmake.macros
@@ -17,8 +17,10 @@
 	%define enable_debug 1 \
 	%{?_enable_debug: %{expand: %%global enable_debug 1}} \
 	CROSSCOMPILE="" ; \
+%ifnarch noarch \
 %if %{cross_compiling} \
 	CROSSCOMPILE="-DCMAKE_TOOLCHAIN_FILE=\"%_prefix/%_target_platform/share/cmake/%_target_platform.toolchain\" -DCMAKE_CROSSCOMPILING:BOOL=ON" ; \
+%endif \
 %endif \
 	export CROSSCOMPILE ; \
 	%__cmake .. \\\
@@ -56,8 +58,10 @@
 	%define enable_debug 1 \
 	%{?_enable_debug: %{expand: %%global enable_debug 1}} \
 	CROSSCOMPILE="" ; \
+%ifnarch noarch \
 %if %{cross_compiling} \
 	CROSSCOMPILE="-DCMAKE_TOOLCHAIN_FILE=\"%_prefix/%_target_platform/share/cmake/%_target_platform.toolchain\" -DCMAKE_CROSSCOMPILING:BOOL=ON" ; \
+%endif \
 %endif \
 	export CROSSCOMPILE ; \
 	[ -z "$CFLAGS32"] && CFLAGS32="$(echo ${CFLAGS:-%{optflags}} | sed -e 's, -m64,,g;s, -mx32,,g;s,^-m64 ,,;s,^-mx32 ,,;s, -flto,,g') -m32" ; \
diff --git a/cmake.spec b/cmake.spec
index dc107d6..6080c43 100644
--- a/cmake.spec
+++ b/cmake.spec
@@ -27,7 +27,7 @@
 
 Name:		cmake
 Summary:	Cross-platform, open-source make system
-Version:	3.24.3
+Version:	3.26.3
 Release:	1
 Source0:	http://www.cmake.org/files/v%{shortVersion}/%{name}-%{version}%{?beta:-%{beta}}.tar.gz
 License:	BSD
Not Available

benbullard79 [@T] cox.netNo Comment.598d 06hrs
benbullard79 [@T] cox.netNo Comment.597d 13hrs
benbullard79 [@T] cox.netNo Comment.597d 13hrs