diff --git a/libid3tag-0.16.3-port-to-newer-cmake.patch b/libid3tag-0.16.3-port-to-newer-cmake.patch new file mode 100644 index 0000000000000000000000000000000000000000..aeff6e3139bdd8f7fc37d524bbc7a48e2d17b0d7 --- /dev/null +++ b/libid3tag-0.16.3-port-to-newer-cmake.patch @@ -0,0 +1,8 @@ +--- libid3tag/CMakeLists.txt.orig 2025-03-06 15:02:56.999479539 +0800 ++++ libid3tag/CMakeLists.txt 2025-03-06 15:03:05.460601034 +0800 +@@ -1,4 +1,4 @@ +-cmake_minimum_required(VERSION 3.1.0) ++cmake_minimum_required(VERSION 3.1.0...${CMAKE_VERSION}) + project(id3tag VERSION 0.16.3) + + option(BUILD_SHARED_LIBS "Build dynamic library" ON) diff --git a/libid3tag.spec b/libid3tag.spec index 9c772adc697c1ecd25e1efc17cac20360a3b4d1c..d56e4e8f82c318ccba847569948f3ff66f32cf16 100644 --- a/libid3tag.spec +++ b/libid3tag.spec @@ -1,11 +1,12 @@ Name: libid3tag Version: 0.16.3 -Release: 2 +Release: 3 Summary: ID3 tag manipulation library License: GPL-2.0-or-later URL: https://codeberg.org/tenacityteam/libid3tag Source0: https://codeberg.org/tenacityteam/libid3tag/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz Patch0: Add_unversioned_so.patch +Patch1: libid3tag-0.16.3-port-to-newer-cmake.patch BuildRequires: gcc-c++ cmake make zlib-devel >= 1.1.4 gperf >= 3.1 %description @@ -42,6 +43,9 @@ ID3 tag library development files. %changelog +* Thu Mar 06 2025 Funda Wang - 0.16.3-3 +- build with cmake 4.0 + * Tue Nov 19 2024 Funda Wang - 0.16.3-2 - adopt to new cmake macro