public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/c4fs] rawhide: Patched and rebuilt for c4core 0.6.0
@ 2026-08-08 4:33 Benjamin A. Beasley
0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-08-08 4:33 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/c4fs
Branch : rawhide
Commit : c2c86e536c9725a943d7936cf11c8d6a8cb89ae0
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-07-23T09:27:35+01:00
Stats : +38/-6 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/c4fs/c/c2c86e536c9725a943d7936cf11c8d6a8cb89ae0?branch=rawhide
Log:
Patched and rebuilt for c4core 0.6.0
---
diff --git a/0001-Fix-missing-include-for-u32-type.patch b/0001-Fix-missing-include-for-u32-type.patch
new file mode 100644
index 0000000..9016928
--- /dev/null
+++ b/0001-Fix-missing-include-for-u32-type.patch
@@ -0,0 +1,24 @@
+From 2f22da29705e140a5e11e32db6964089b5ff387f Mon Sep 17 00:00:00 2001
+From: "Benjamin A. Beasley" <code@musicinmybrain.net>
+Date: Thu, 23 Jul 2026 09:00:17 +0100
+Subject: [PATCH] Fix missing include for u32 type
+
+---
+ test/test_basic.cpp | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/test/test_basic.cpp b/test/test_basic.cpp
+index bf2f280..b3f712c 100644
+--- a/test/test_basic.cpp
++++ b/test/test_basic.cpp
+@@ -1,6 +1,7 @@
+ #include <c4/fs/fs.hpp>
+ #include <c4/std/std.hpp>
+ #include <c4/substr.hpp>
++#include <c4/types.hpp>
+ #define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN
+ #include <doctest/doctest.h>
+ #include <stdlib.h>
+--
+2.55.0
+
diff --git a/c4fs.spec b/c4fs.spec
index 2bb40b3..6559da0 100644
--- a/c4fs.spec
+++ b/c4fs.spec
@@ -13,10 +13,11 @@
Name: c4fs
Summary: C++ file system utilities
-Version: 0.0.1^%{snapdate}.%{sub %{commit} 1 7}
-# This is the same as the version number. To prevent undetected soversion
+%global baseversion 0.0.1
+Version: %{baseversion}^%{snapdate}.%{sub %{commit} 1 7}
+# This is derived from the version number. To prevent undetected SONAME version
# bumps, we nevertheless express it separately.
-%global so_version 0.0.1
+%global so_version 0.0
Release: %autorelease
# SPDX
@@ -29,6 +30,12 @@ Source: %{url}/archive/%{commit}/c4fs-%{commit}.tar.gz
# patch without sending it upstream.
Patch: c4fs-1abba00-external-c4core.patch
+# Fix missing include for u32 type
+# From: Update c4core submodule to 0.6.0; fix a missing include
+# https://github.com/biojppm/c4fs/pull/8
+# Needed for c4core 0.6.0 compatibility.
+Patch: 0001-Fix-missing-include-for-u32-type.patch
+
BuildSystem: cmake
# We can stop the CMake scripts from downloading doctest by setting
# C4FS_CACHE_DOWNLOAD_DOCTEST to any directory that exists.
@@ -42,10 +49,10 @@ BuildOption(conf): %{shrink:
ExcludeArch: %{ix86}
BuildRequires: gcc-c++
-# Minimum version with proper multilib (GNUInstallDirs) support
-BuildRequires: c4project >= 0^20260428.fa85cab-1
-BuildRequires: cmake(c4core)
+# Minimum versions with major.minor SONAME versioning
+BuildRequires: c4project >= 0^20260717.2db9323-1
+BuildRequires: cmake(c4core) >= 0.6.0
# For each header-only library, the guidelines require us to BR the -static
# package for tracking.
@@ -90,6 +97,7 @@ sed --regexp-extended --in-place \
%license LICENSE.txt
%doc README.md
%{_libdir}/libc4fs.so.%{so_version}
+%{_libdir}/libc4fs.so.%{baseversion}
%files devel
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-08 4:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-08 4:33 [rpms/c4fs] rawhide: Patched and rebuilt for c4core 0.6.0 Benjamin A. Beasley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox