diff --git a/taglib-1.13.1-port-to-newer-cmake.patch b/taglib-1.13.1-port-to-newer-cmake.patch new file mode 100644 index 0000000000000000000000000000000000000000..5225d0b0c50d69bfb4e5309bdbd4195062d0f302 --- /dev/null +++ b/taglib-1.13.1-port-to-newer-cmake.patch @@ -0,0 +1,8 @@ +--- taglib-1.13.1/CMakeLists.txt.orig 2025-03-04 22:20:26.593219800 +0800 ++++ taglib-1.13.1/CMakeLists.txt 2025-03-04 22:20:38.370990500 +0800 +@@ -1,4 +1,4 @@ +-cmake_minimum_required(VERSION 3.0.0 FATAL_ERROR) ++cmake_minimum_required(VERSION 3.0.0...${CMAKE_VERSION} FATAL_ERROR) + + project(taglib) + diff --git a/taglib.spec b/taglib.spec index 50ae86b81e23e175c6bfbea1c76f1270d8d7a8b4..fb14b65fd77fe62314b6d444569c22b7683dd9b1 100644 --- a/taglib.spec +++ b/taglib.spec @@ -1,12 +1,13 @@ Name: taglib Summary: Audio Meta-Data Library Version: 1.13.1 -Release: 2 +Release: 3 License: (LGPL-2.1-only OR MPL-1.1) AND BSD-2-Clause AND LGPL-2.1-only URL: https://taglib.org/ Source0: https://github.com/%{name}/%{name}/archive/%{version}/%{name}-%{version}.tar.gz +Patch0: taglib-1.13.1-port-to-newer-cmake.patch -BuildRequires: gcc gcc-c++ cmake pkgconfig zlib-devel +BuildRequires: gcc gcc-c++ cmake zlib-devel %description TagLib is a library for reading and editing the meta-data of several popular @@ -50,6 +51,9 @@ Files needed when building software with %{name}. %changelog +* Tue Mar 04 2025 Funda Wang - 1.13.1-3 +- build with cmake 4.0 + * Wed Nov 20 2024 Funda Wang - 1.13.1-2 - adopt to new cmake macro - cleanup spec