Fix strawberry.spec for CentOS and Mageia
This commit is contained in:
8
dist/unix/strawberry.spec.in
vendored
8
dist/unix/strawberry.spec.in
vendored
@@ -108,14 +108,18 @@ Features:
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
%{cmake} -DCMAKE_BUILD_TYPE:STRING=Release
|
%{cmake} -DCMAKE_BUILD_TYPE:STRING=Release
|
||||||
%if 0%{?centos}
|
%if 0%{?centos} || 0%{?mageia}
|
||||||
%make_build
|
%make_build
|
||||||
%else
|
%else
|
||||||
%cmake_build
|
%cmake_build
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%cmake_install
|
%if 0%{?centos} || 0%{?mageia}
|
||||||
|
%make_install
|
||||||
|
%else
|
||||||
|
%cmake_install
|
||||||
|
%endif
|
||||||
|
|
||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version}
|
||||||
%suse_update_desktop_file org.strawberrymusicplayer.strawberry Qt AudioVideo Audio Player
|
%suse_update_desktop_file org.strawberrymusicplayer.strawberry Qt AudioVideo Audio Player
|
||||||
|
|||||||
Reference in New Issue
Block a user