Fix strawberry.spec for CentOS and Mageia

This commit is contained in:
Jonas Kvinge 2020-09-16 19:21:37 +02:00
parent f75c3633e9
commit e80c9c4101
1 changed files with 6 additions and 2 deletions

View File

@ -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