From 458ea5fe81ec34d49a1250e39b769a8df0457281 Mon Sep 17 00:00:00 2001 From: Igor Raits Date: Jul 08 2020 14:54:22 +0000 Subject: Improve compatibility with new CMake macro Signed-off-by: Igor Raits --- diff --git a/taglib-extras.spec b/taglib-extras.spec index 181b4ad..2372790 100644 --- a/taglib-extras.spec +++ b/taglib-extras.spec @@ -1,3 +1,5 @@ +%undefine __cmake_in_source_build + Summary: Taglib support for other formats Name: taglib-extras Version: 1.0.1 @@ -45,16 +47,12 @@ Requires: taglib-devel %build -mkdir %{_target_platform} -pushd %{_target_platform} -%{cmake3} .. -popd - -%make_build -C %{_target_platform} +%{cmake3} +%cmake3_build %install -make install DESTDIR=%{buildroot} -C %{_target_platform} +%cmake3_install %ldconfig_scriptlets