[packages/xtl] - updated to 0.8.0 (C++17)

qboosh qboosh at pld-linux.org
Mon Apr 14 21:45:27 CEST 2025


commit c4eeab41aa09a2686b1da0f94c90dabed4b93039
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Apr 14 21:39:12 2025 +0200

    - updated to 0.8.0 (C++17)

 xtl.spec | 21 ++++++++-------------
 1 file changed, 8 insertions(+), 13 deletions(-)
---
diff --git a/xtl.spec b/xtl.spec
index 138ca99..31b6163 100644
--- a/xtl.spec
+++ b/xtl.spec
@@ -5,16 +5,16 @@
 Summary:	Basic tools (containers, algorithms) used by other quantstack packages
 Summary(pl.UTF-8):	Podstawowe narzędzia (kontenery, algorytmy) używane przez inne pakiety quantstack
 Name:		xtl
-Version:	0.7.7
+Version:	0.8.0
 Release:	1
 License:	BSD
 Group:		Libraries
 #Source0Download: https://github.com/xtensor-stack/xtl/tags
 Source0:	https://github.com/xtensor-stack/xtl/archive/%{version}/%{name}-%{version}.tar.gz
-# Source0-md5:	6df56ae8bc30471f6773b3f18642c8ab
+# Source0-md5:	a6d6a690ee93c694e6e04bad67c26a2e
 URL:		https://xtl.readthedocs.io/
-BuildRequires:	cmake >= 3.1
-BuildRequires:	libstdc++-devel >= 6:5
+BuildRequires:	cmake >= 3.29
+BuildRequires:	libstdc++-devel >= 6:7
 BuildRequires:	nlohmann-json-devel
 BuildRequires:	rpmbuild(macros) >= 1.605
 %if %{with apidocs}
@@ -44,7 +44,7 @@ takich jak "variant" czy "any".
 Summary:	Basic tools (containers, algorithms) used by other quantstack packages
 Summary(pl.UTF-8):	Podstawowe narzędzia (kontenery, algorytmy) używane przez inne pakiety quantstack
 Group:		Development/Libraries
-Requires:	libstdc++-devel >= 6:5
+Requires:	libstdc++-devel >= 6:7
 
 %description devel
 xtl gathers generic purpose algorithms and containers that are used by
@@ -75,14 +75,9 @@ Dokumentacja API biblioteki xtl.
 %setup -q
 
 %build
-install -d build
-cd build
-# fake LIBDIR so we can create noarch package
-%cmake .. \
-	-DCMAKE_INSTALL_LIBDIR=%{_datadir}
-
-%{__make}
-cd ..
+%cmake -B build
+
+%{__make} -C build
 
 %if %{with apidocs}
 %{__make} -C docs html \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/xtl.git/commitdiff/c4eeab41aa09a2686b1da0f94c90dabed4b93039



More information about the pld-cvs-commit mailing list