From e80c9c4101b87f1bb8f50f6afd9205cfe9027879 Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Wed, 16 Sep 2020 19:21:37 +0200 Subject: [PATCH] Fix strawberry.spec for CentOS and Mageia --- dist/unix/strawberry.spec.in | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/dist/unix/strawberry.spec.in b/dist/unix/strawberry.spec.in index 8999323df..d410b9b3b 100644 --- a/dist/unix/strawberry.spec.in +++ b/dist/unix/strawberry.spec.in @@ -108,14 +108,18 @@ Features: %build %{cmake} -DCMAKE_BUILD_TYPE:STRING=Release -%if 0%{?centos} +%if 0%{?centos} || 0%{?mageia} %make_build %else %cmake_build %endif %install -%cmake_install +%if 0%{?centos} || 0%{?mageia} + %make_install +%else + %cmake_install +%endif %if 0%{?suse_version} %suse_update_desktop_file org.strawberrymusicplayer.strawberry Qt AudioVideo Audio Player