Add openmandriva support to rpm spec

This commit is contained in:
Jonas Kvinge
2022-01-15 02:53:46 +01:00
parent fbd2993239
commit 1aad85a4f9
2 changed files with 15 additions and 6 deletions

View File

@@ -138,7 +138,7 @@ Features:
export CXXFLAGS="-fPIC $RPM_OPT_FLAGS"
%endif
%{cmake} -DQT_VERSION_MAJOR=@QT_VERSION_MAJOR@
%if 0%{?centos} || (0%{?mageia} && 0%{?mageia} <= 7)
%if 0%{?centos} || (0%{?mageia} && 0%{?mageia} <= 7) || "%{?_vendor}" == "openmandriva"
%make_build
%else
%cmake_build
@@ -148,7 +148,7 @@ Features:
%if 0%{?centos}
%make_install
%else
%if 0%{?mageia}
%if 0%{?mageia} || "%{?_vendor}" == "openmandriva"
%make_install -C build
%else
%cmake_install