diff --git a/0001-cmake-no-install-html.patch b/0001-cmake-no-install-html.patch new file mode 100644 index 0000000000000000000000000000000000000000..612f12f86d29fab7337792bb282f3ef2e44dbaf7 --- /dev/null +++ b/0001-cmake-no-install-html.patch @@ -0,0 +1,13 @@ +diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt +index f1a43c6..3b58d80 100644 +--- a/doc/CMakeLists.txt ++++ b/doc/CMakeLists.txt +@@ -17,8 +17,6 @@ if(BUILD_DOCUMENTATION) + WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} + COMMENT "Generating API documentation with Doxygen" + VERBATIM) +- +- install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/../html DESTINATION share/doc) + endif() + + install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/man/libeconf.3 DESTINATION ${CMAKE_INSTALL_MANDIR}/man3) diff --git a/libeconf-0.6.2.tar.gz b/libeconf-0.6.2.tar.gz index 8ad8526f904b76afd042f1e6d8e61fab783071f0..6d1e491b5b6440ca4e47c45b1654387eb62fe2b0 100644 Binary files a/libeconf-0.6.2.tar.gz and b/libeconf-0.6.2.tar.gz differ diff --git a/libeconf.spec b/libeconf.spec index 9c68e43c0d08c3f0885e6b22a440090941161923..b2ae682f99233371af0e4e3c16571ceef292e769 100644 --- a/libeconf.spec +++ b/libeconf.spec @@ -1,17 +1,19 @@ -%define anolis_release 1 +%define anolis_release 2 %undefine __cmake_in_source_build Name: libeconf -Version: 0.6.2 +Version: 0.6.2 Release: %{anolis_release}%{?dist} Summary: a highly flexible and configurable library to parse and manage key=value configuration files License: MIT URL: https://github.com/openSUSE/libeconf -Source0: https://github.com/openSUSE/libeconf/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz +Source0: https://github.com/openSUSE/libeconf/archive/0.6.2/libeconf-0.6.2.tar.gz # https://github.com/openSUSE/libeconf/commit/6f8c673a181762931d5997bc5e7bea9c69d0b7cb Patch0001: 0001-Fix-static-analyzer-detected-issues.patch +Patch2: 0001-cmake-no-install-html.patch BuildRequires: cmake >= 3.12 gcc gcc-c++ automake autoconf +BuildRequires: make %description libeconf is a highly flexible and configurable library to parse @@ -89,6 +91,8 @@ The libeconf-doc package contains documentation files for libeconf. %doc README.md TODO.md NEWS %changelog +* Thu Sep 18 2025 wenyuzifang - 0.6.2-2 +- Prevent incorrect installation of documentation to ensure compliance with packaging standards * Wed Feb 26 2025 Xiaoping Liu - 0.6.2-1 - update to 0.6.2 from 0.5.2 - Fix static analyzer detected issues