[packages/rapidyaml] - don't pull c4core for docs
baggins
baggins at pld-linux.org
Sat Oct 24 00:55:01 CEST 2026
commit 84025a9265780cdda8fe205208fa327401cae896
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sat Oct 24 00:54:43 2026 +0200
- don't pull c4core for docs
no-c4core-doc.patch | 11 +++++++++++
rapidyaml.spec | 2 ++
2 files changed, 13 insertions(+)
---
diff --git a/rapidyaml.spec b/rapidyaml.spec
index ddb8339..344eb2a 100644
--- a/rapidyaml.spec
+++ b/rapidyaml.spec
@@ -13,6 +13,7 @@ Source0: https://github.com/biojppm/rapidyaml/archive/v%{version}/%{name}-%{vers
Source10: patch-no-download
Patch0: 653.patch
Patch1: 662.patch
+Patch2: no-c4core-doc.patch
URL: https://github.com/biojppm/rapidyaml
BuildRequires: cmake
BuildRequires: ninja
@@ -57,6 +58,7 @@ Dokumentacja API biblioteki %{name}.
%setup -q
%patch -P0 -p1
%patch -P1 -p1
+%patch -P2 -p1
# Patch out download of gtest:
%{SOURCE10} proj/c4proj/c4Project.cmake '^ if\(_GTEST\)' '^ endif'
diff --git a/no-c4core-doc.patch b/no-c4core-doc.patch
new file mode 100644
index 0000000..a73255f
--- /dev/null
+++ b/no-c4core-doc.patch
@@ -0,0 +1,11 @@
+--- rapidyaml-0.16.0/doc/Makefile~ 2026-07-21 21:02:40.000000000 +0200
++++ rapidyaml-0.16.0/doc/Makefile 2026-10-24 00:53:34.192870564 +0200
+@@ -42,7 +42,7 @@
+ @echo " `pwd`/$(BUILDDIR)/html/index.html"
+
+
+-doxy: doxy_install c4core-clone
++doxy: doxy_install
+ @## use cmake to generate a compile database
+ @#cmake -S .. -B "$(BUILDDIR)/proj" -DCMAKE_CXX_COMPILER=$(CLANG) -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
+ @#ln -fs "$(BUILDDIR)/proj/compile_commands.json" .
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/rapidyaml.git/commitdiff/84025a9265780cdda8fe205208fa327401cae896
More information about the pld-cvs-commit
mailing list