diff --git a/cmake-Install-econftool.patch b/cmake-Install-econftool.patch deleted file mode 100644 index 2b855222f1f6746d52e011e88106a613218df59a..0000000000000000000000000000000000000000 --- a/cmake-Install-econftool.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 82bd1d76a50c0f7557578b18d601c69c10e50950 Mon Sep 17 00:00:00 2001 -From: Neal Gompa -Date: Thu, 8 Jul 2021 05:42:04 -0400 -Subject: [PATCH 1/2] cmake: Install econftool - -This was missed in bce4976bd6bd933ca415f3bf765d80a887b832a4. ---- - util/CMakeLists.txt | 4 ++++ - 1 file changed, 4 insertions(+) - -diff --git a/util/CMakeLists.txt b/util/CMakeLists.txt -index ce3fca8..08cc5f0 100644 ---- a/util/CMakeLists.txt -+++ b/util/CMakeLists.txt -@@ -1,3 +1,7 @@ - # Create the binary/executable - add_executable(econftool econftool.c) - target_link_libraries(econftool PRIVATE econf) -+ -+install(TARGETS econftool -+ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} -+) --- -2.31.1 - diff --git a/cmake-Install-man-pages.patch b/cmake-Install-man-pages.patch deleted file mode 100644 index 24c55a50134659d680fa5577de04a68d99102c00..0000000000000000000000000000000000000000 --- a/cmake-Install-man-pages.patch +++ /dev/null @@ -1,23 +0,0 @@ -From 5fbe0aed4622d4c94c4e541c6b013be7ae4616a3 Mon Sep 17 00:00:00 2001 -From: Neal Gompa -Date: Thu, 8 Jul 2021 05:49:41 -0400 -Subject: [PATCH 2/2] cmake: Install man pages - ---- - doc/CMakeLists.txt | 3 +++ - 1 file changed, 3 insertions(+) - -diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt -index 0e47ccc..726183a 100644 ---- a/doc/CMakeLists.txt -+++ b/doc/CMakeLists.txt -@@ -20,3 +20,6 @@ if(BUILD_DOCUMENTATION) - - 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) -+install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/man/econftool.8 DESTINATION ${CMAKE_INSTALL_MANDIR}/man8) --- -2.31.1 - diff --git a/libeconf-0.4.0.tar.gz b/libeconf-0.4.0.tar.gz deleted file mode 100644 index 4db0a74706bbe61f8be6338f654c771d2935e272..0000000000000000000000000000000000000000 Binary files a/libeconf-0.4.0.tar.gz and /dev/null differ diff --git a/libeconf.spec b/libeconf.spec index fe504d09de761ed6a7a9d0aa151b9f74c85473b8..6ddb834b235d6f4d8fa466c1861f1262628a083e 100644 --- a/libeconf.spec +++ b/libeconf.spec @@ -1,16 +1,13 @@ -%define anolis_release 4 +%define anolis_release 1 %undefine __cmake_in_source_build Name: libeconf -Version: 0.4.0 +Version: 0.5.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: %{url}/archive/%{version}/%{name}-%{version}.tar.gz - -Patch0: cmake-Install-econftool.patch -Patch1: cmake-Install-man-pages.patch +Source0: https://github.com/openSUSE/libeconf/archive/refs/tags/v%{version}.tar.gz BuildRequires: cmake >= 3.12 gcc gcc-c++ automake autoconf @@ -90,6 +87,9 @@ The libeconf-doc package contains documentation files for libeconf. %doc README.md TODO.md NEWS %changelog +* Sun Aug 27 2023 Funda Wang - 0.5.2-1 +- New version 0.5.2 + * Mon Apr 10 2023 chen_yu_ao - 0.4.0-4 - change spec file format diff --git a/v0.5.2.tar.gz b/v0.5.2.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..44add2ca1b50abff3558464b62a24a13ebac8920 Binary files /dev/null and b/v0.5.2.tar.gz differ