Strip :1 from macros
OBS-URL: https://build.opensuse.org/package/show/games/emptyepsilon?expand=0&rev=20
This commit is contained in:
parent
6a3e26418d
commit
26284fc9c4
@ -73,7 +73,7 @@ ln -s ../externals
|
||||
popd
|
||||
|
||||
%build
|
||||
%if 0%{?sle_version:1}
|
||||
%if 0%{?sle_version}
|
||||
# if sle_version is defined, this is not tumbleweed
|
||||
export CC=gcc-10
|
||||
export CXX=g++-10
|
||||
@ -83,7 +83,7 @@ export CXX=g++-10
|
||||
-DCPACK_PACKAGE_VERSION_MAJOR="$(echo %{version} | cut -d. -f1)" \
|
||||
-DCPACK_PACKAGE_VERSION_MINOR="$(echo %{version} | cut -d. -f2)" \
|
||||
-DCPACK_PACKAGE_VERSION_PATCH="$(echo %{version} | cut -d. -f3)" \
|
||||
%if 0%{?sle_version:1}
|
||||
%if 0%{?sle_version}
|
||||
-DCMAKE_INSTALL_DOCDIR:PATH=%{_docdir}/%{name} \
|
||||
%endif
|
||||
-DOpenGL_GL_PREFERENCE=GLVND
|
||||
|
Loading…
Reference in New Issue
Block a user