public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Neal Gompa <ngompa@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/libfyaml] rawhide: Rebase to 0.9.6
Date: Tue, 10 Nov 2026 22:42:26 GMT [thread overview]
Message-ID: <179435054658.1.17430135761310455216.rpms-libfyaml-f169cf176bab@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/libfyaml
Branch : rawhide
Commit : f169cf176bab95570c508f23bd9d2da0dea8f935
Author : Neal Gompa <ngompa@fedoraproject.org>
Date : 2026-11-10T17:41:52-05:00
Stats : +60/-27 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/libfyaml/c/f169cf176bab95570c508f23bd9d2da0dea8f935?branch=rawhide
Log:
Rebase to 0.9.6
---
diff --git a/.gitignore b/.gitignore
index 17002cd..e3df64c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/libfyaml-0.8.tar.gz
+/libfyaml-0.9.6.tar.gz
diff --git a/libfyaml-0.9.6-fix-manpage-install.patch b/libfyaml-0.9.6-fix-manpage-install.patch
new file mode 100644
index 0000000..3b365f4
--- /dev/null
+++ b/libfyaml-0.9.6-fix-manpage-install.patch
@@ -0,0 +1,33 @@
+From 71d8de08583e9b09f08a249abd3577022c80d4e3 Mon Sep 17 00:00:00 2001
+From: Neal Gompa <ngompa@fedoraproject.org>
+Date: Sun, 8 Nov 2026 14:10:19 -0500
+Subject: [PATCH] cmake: Fix installation of man pages
+
+The extra DESTDIR was causing the files to be installed into an
+invalid nested hierarchy.
+---
+ CMakeLists.txt | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index ef0c3ae..5929ca7 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -1640,12 +1640,12 @@ if(SPHINX_EXECUTABLE)
+ endif()
+
+ file(INSTALL
+- DESTINATION \"\$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_MANDIR}/man1\"
++ DESTINATION \"\${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_MANDIR}/man1\"
+ TYPE FILE
+ FILES \"${SPHINX_BUILD_DIR}/man/fy-tool.1\"
+ )
+ file(INSTALL
+- DESTINATION \"\$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_MANDIR}/man3\"
++ DESTINATION \"\${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_MANDIR}/man3\"
+ TYPE FILE
+ FILES
+ \"${SPHINX_BUILD_DIR}/man/libfyaml.3\"
+--
+2.56.0
+
diff --git a/libfyaml.spec b/libfyaml.spec
index 161cc86..aec3630 100644
--- a/libfyaml.spec
+++ b/libfyaml.spec
@@ -1,6 +1,6 @@
Name: libfyaml
-Version: 0.8
-Release: 10%{?dist}
+Version: 0.9.6
+Release: 1%{?dist}
Summary: Complete YAML parser and emitter
# All files MIT except
@@ -14,17 +14,16 @@ URL: https://github.com/pantoniou/libfyaml
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
Source1: LICENSE-GPL-2.0
Source2: LICENSE-BSD-2-Clause
-Patch0: obsolete-macros-update.patch
+# Fixed in master already
+Patch0: libfyaml-0.9.6-fix-manpage-install.patch
-BuildRequires: autoconf
-BuildRequires: automake
-BuildRequires: check
+BuildRequires: cmake
+BuildRequires: cmake(check)
BuildRequires: gcc
-BuildRequires: libtool
-BuildRequires: libtool-ltdl-devel
-BuildRequires: libyaml-devel
-BuildRequires: make
+BuildRequires: pkgconfig(yaml-0.1)
BuildRequires: python3-sphinx
+BuildRequires: python3dist(linuxdoc)
+BuildRequires: python3dist(sphinx-markdown-builder)
#BuildRequires: xxhash-devel
# Needed to update macro
BuildRequires: sed
@@ -59,23 +58,23 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
Header files and libraries for libfyaml
%prep
-%autosetup
+%autosetup -C -p1
+
+%conf
+%cmake -DENABLE_NETWORK:BOOL=OFF
%build
cp %{SOURCE1} .
cp %{SOURCE2} .
-autoreconf -fi
-%configure --disable-static --disable-network
-sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
-%make_build
+%cmake_build
%install
-%make_install
+%cmake_install
%check
# Run basic tests
-make check
+%ctest
%files
%license LICENSE
@@ -84,7 +83,7 @@ make check
%doc README.md
%doc AUTHORS
%{_libdir}/libfyaml.so.0
-%{_libdir}/libfyaml.so.0.0.0
+%{_libdir}/libfyaml.so.%{version}
%files -n fyaml-utils
%{_bindir}/fy-compose
@@ -94,20 +93,20 @@ make check
%{_bindir}/fy-testsuite
%{_bindir}/fy-tool
%{_bindir}/fy-ypath
-%{_mandir}/man1/fy-compose.1.gz
-%{_mandir}/man1/fy-dump.1.gz
-%{_mandir}/man1/fy-filter.1.gz
-%{_mandir}/man1/fy-join.1.gz
-%{_mandir}/man1/fy-testsuite.1.gz
-%{_mandir}/man1/fy-tool.1.gz
-%{_mandir}/man1/fy-ypath.1.gz
+%{_mandir}/man?/fy-*
%files devel
%{_includedir}/libfyaml.h
-%{_libdir}/libfyaml.so
+%{_includedir}/libfyaml/
+%{_libdir}/cmake/libfyaml/
%{_libdir}/pkgconfig/libfyaml.pc
+%{_libdir}/libfyaml.so
+%{_mandir}/man3/libfyaml*
%changelog
+* Tue Nov 10 2026 Neal Gompa <ngompa@fedoraproject.org> - 0.9.6-1
+- Rebase to 0.9.6
+
* Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.8-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
diff --git a/sources b/sources
index 07f614d..eabf58b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (libfyaml-0.8.tar.gz) = 7c9dd4e0d39a8dec71fa6e9518e81e4c1c5998e3de1db9ab7db58ebd4f99efaa41b071bf9575de88400a4aeff597cf36361d01f568122a6e1214a92fb1efd507
+SHA512 (libfyaml-0.9.6.tar.gz) = e38f42b5d3e5e88300fd1c7b59868592afa5f2f88d30f61e778700c35435ebd14ecef7d82ac0213345dabdb3c562dc234ed1b2bfd84e40b47fdc4f84144c79f5
reply other threads:[~2026-11-10 22:42 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=179435054658.1.17430135761310455216.rpms-libfyaml-f169cf176bab@fedoraproject.org \
--to=ngompa@fedoraproject.org \
--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