From 80ca51da68f5e78f5b4341e9472b64d77ca8b0cd Mon Sep 17 00:00:00 2001 From: Roman Janota Date: Mon, 1 Jun 2026 10:23:23 +0200 Subject: [PATCH 1/2] pkg BUGFIX platform without make 'make doc' fails on platforms without make, rely on cmake to find the build system --- distro/pkg/rpm/libyang.spec | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/distro/pkg/rpm/libyang.spec b/distro/pkg/rpm/libyang.spec index 4b9516436..44909bc56 100644 --- a/distro/pkg/rpm/libyang.spec +++ b/distro/pkg/rpm/libyang.spec @@ -70,11 +70,8 @@ written (and providing API) in C. %else %cmake -DCMAKE_BUILD_TYPE=RELWITHDEBINFO %cmake_build - %if "x%{?suse_version}" == "x" - cd %{__cmake_builddir} - %endif %endif -make doc +%cmake_build --target doc %check %if ( 0%{?rhel} == 0 ) || 0%{?rhel} > 7 From b6a2fe51404d0588b77d0d3359ba6095d98f1a35 Mon Sep 17 00:00:00 2001 From: Roman Janota Date: Mon, 1 Jun 2026 10:25:06 +0200 Subject: [PATCH 2/2] VERSION bump to version 5.8.4 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2fedea126..4a213e3a7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -61,7 +61,7 @@ set (CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}) # set version of the project set(LIBYANG_MAJOR_VERSION 5) set(LIBYANG_MINOR_VERSION 8) -set(LIBYANG_MICRO_VERSION 3) +set(LIBYANG_MICRO_VERSION 4) set(LIBYANG_VERSION ${LIBYANG_MAJOR_VERSION}.${LIBYANG_MINOR_VERSION}.${LIBYANG_MICRO_VERSION}) # set version of the library