public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Benjamin A. Beasley <code@musicinmybrain.net>
To: git-commits@fedoraproject.org
Subject: [rpms/c4fs] rawhide: Patched and rebuilt for c4core 0.6.0
Date: Sat, 08 Aug 2026 04:33:41 GMT	[thread overview]
Message-ID: <178616362119.1.16485508444437802330.rpms-c4fs-c2c86e536c97@fedoraproject.org> (raw)

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

                 reply	other threads:[~2026-08-08  4:33 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178616362119.1.16485508444437802330.rpms-c4fs-c2c86e536c97@fedoraproject.org \
    --to=code@musicinmybrain.net \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox