Install prefix already set via %cmake

OBS-URL: https://build.opensuse.org/package/show/games/emptyepsilon?expand=0&rev=10
This commit is contained in:
Dominik Heidler 2023-12-11 13:39:39 +00:00 committed by Git OBS Bridge
parent d6b8fb5b90
commit 9647caf22b

View File

@ -79,7 +79,6 @@ export CC=gcc-10
export CXX=g++-10 export CXX=g++-10
%endif %endif
%cmake -DSERIOUS_PROTON_DIR="SeriousProton-EE-%{version}" \ %cmake -DSERIOUS_PROTON_DIR="SeriousProton-EE-%{version}" \
-DCMAKE_INSTALL_PREFIX=%{_prefix} \
-DCMAKE_BUILD_TYPE=Release \ -DCMAKE_BUILD_TYPE=Release \
-DCPACK_PACKAGE_VERSION_MAJOR="$(echo %{version} | cut -d. -f1)" \ -DCPACK_PACKAGE_VERSION_MAJOR="$(echo %{version} | cut -d. -f1)" \
-DCPACK_PACKAGE_VERSION_MINOR="$(echo %{version} | cut -d. -f2)" \ -DCPACK_PACKAGE_VERSION_MINOR="$(echo %{version} | cut -d. -f2)" \