[packages/Imath] - updated cmake dependency (and use cmake 3.13+ -B syntax)

qboosh qboosh at pld-linux.org
Sat Nov 29 17:04:08 CET 2025


commit b2a252643610527fd8ffc718ae71952bf91281af
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Nov 29 17:04:05 2025 +0100

    - updated cmake dependency (and use cmake 3.13+ -B syntax)

 Imath.spec | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)
---
diff --git a/Imath.spec b/Imath.spec
index ce7e040..bce7506 100644
--- a/Imath.spec
+++ b/Imath.spec
@@ -14,7 +14,7 @@ Source0:	https://github.com/AcademySoftwareFoundation/Imath/archive/v%{version}/
 # Source0-md5:	e29f25ce926ac53d8e0a52197299f61b
 Patch0:		python-install.patch
 URL:		https://openexr.com/
-BuildRequires:	cmake >= 3.12
+BuildRequires:	cmake >= 3.14
 BuildRequires:	libstdc++-devel >= 6:5
 BuildRequires:	ninja
 BuildRequires:	pkgconfig
@@ -89,16 +89,13 @@ Pliki nagłówkowe wiązań Pythona do biblioteki Imath.
 %patch -P0 -p1
 
 %build
-install -d build
-cd build
-%cmake -G Ninja \
+%cmake -B build -G Ninja \
 	-DCMAKE_INSTALL_INSTALLDIR=include \
 	-DCMAKE_INSTALL_LIBDIR=%{_lib} \
 	-DPYIMATH_OVERRIDE_PYTHON_INSTALL_DIR=%{py3_sitedir} \
-	%{?with_python3:-DPYTHON=ON} \
-	..
+	%{?with_python3:-DPYTHON=ON}
 
-%ninja_build
+%ninja_build -C build
 
 %install
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/Imath.git/commitdiff/b2a252643610527fd8ffc718ae71952bf91281af




More information about the pld-cvs-commit mailing list