gulrak-filesystem 1.5.14-1 (aarch64;znver1;x86_64) 2023-17376
9999

Status published
Submitter mandian [@T] tutanota.com
Platform rolling
Repository unsupported
URL https://abf.openmandriva.org/build_lists/297010
Packages
gulrak-filesystem-1.5.14-1.aarch64.source
gulrak-filesystem-devel-1.5.14-1.aarch64.binary
gulrak-filesystem-1.5.14-1.znver1.source
gulrak-filesystem-devel-1.5.14-1.znver1.binary
gulrak-filesystem-1.5.14-1.x86_64.source
gulrak-filesystem-devel-1.5.14-1.x86_64.binary
Build Date 2023-03-27 23:14:48 +0000 UTC
Last Updated 2023-04-02 01:49:37.455950483 +0000 UTC
$ git diff --patch-with-stat --summary 435551d83b7347a5a82aaa22e01e6ca964da56a7..5ff873da464906bfbe36f73664ed0c1807930c6a

 .abf.yml               |  3 +--
 gulrak-filesystem.spec | 20 ++++++++++----------
 2 files changed, 11 insertions(+), 12 deletions(-)

diff --git a/.abf.yml b/.abf.yml
index 06deefa..865c3cd 100644
--- a/.abf.yml
+++ b/.abf.yml
@@ -1,3 +1,2 @@
 sources:
-  filesystem-1.5.12.tar.gz: 57db44da760eeca784caf58e0158949713452cac
-
+  filesystem-1.5.14.tar.gz: cc287e12a1f66a05de70d51a72bdf14057032088
diff --git a/gulrak-filesystem.spec b/gulrak-filesystem.spec
index b46d8ff..555f50a 100644
--- a/gulrak-filesystem.spec
+++ b/gulrak-filesystem.spec
@@ -5,17 +5,21 @@
 %define devname %mklibname %{name} -d
 %define libname %mklibname %{name} %major
 
-%bcond_without examples
-# FIXME: fails
+# FIXME: clang fails:
+# ... examples/dir.cpp:1:10: fatal error: 'chrono' file not found
+# #include <chrono>
+#           ^~~~~~~~
+%bcond_with examples
+# FIXME: it still requires catch2 v2
 %bcond_with tests
 
 Summary:	An implementation of C++17 std::filesystem for C++11 /C++14/C++17/C++20
 Name:		gulrak-filesystem
-Version:	1.5.12
+Version:	1.5.14
 Release:	1
 License:	MIT
 URL:		https://github.com/gulrak/filesystem
-Source0:	%{url}/archive/v%{version}/filesystem-%{version}.tar.gz
+Source0:	https://github.com/gulrak/filesystem/archive/v%{version}/filesystem-%{version}.tar.gz
 
 BuildRequires:	cmake
 BuildRequires:	ninja
@@ -77,13 +81,9 @@ sed -r -i 's|(include[[:blank:]]+")(catch.hpp")|\1catch2/\2|' test/*.cpp
 sed -r -i 's|[[:blank:]]+catch\.hpp||' test/CMakeLists.txt
 %endif
 
+sed -i -e "s|<chrono>|<bits/chrono>|g" examples/dir.cpp
+
 %build
-# FIXME: clang fails:
-# ... examples/dir.cpp:1:10: fatal error: 'chrono' file not found
-# #include <chrono>
-#           ^~~~~~~~
-export CC=gcc
-export CXX=g++
 %cmake \
 	-DGHC_FILESYSTEM_BUILD_EXAMPLES:BOOL=%{?with_examples:ON}%{?!with_examples:OFF} \
 	-DGHC_FILESYSTEM_BUILD_TESTING:BOOL=%{?with_tests:ON}%{?!with_tests:OFF} \
Not Available

benbullard79 [@T] cox.netNo Comment.602d 05hrs
benbullard79 [@T] cox.netNo Comment.602d 05hrs