File project.diff of Package cmake

--- cmake.spec.orig
+++ cmake.spec
@@ -17,6 +17,7 @@
 #
 
 
+%{!?make_build:%global make_build make %{?_smp_mflags}}
 %global flavor @BUILD_FLAVOR@%{nil}
 # Flavor gui
 %if "%{flavor}" == "gui"
@@ -90,6 +91,11 @@ BuildRequires:  pkgconfig(libuv) >= 1.28
 %if "%{flavor}" == ""
 Requires:       cmake-implementation = %{version}
 %endif
+%if 0%{?suse_version} && 0%{?suse_version} <= 1500 && 0%{?suse_version} >= 1400
+%define pyver 311
+%else
+%define pyver 3
+%endif
 %if %{with full} || %{with mini}
 Requires:       make
 # bnc#953842 - A python file is shipped so require python base so it can be run.
@@ -281,7 +287,7 @@ rm %{buildroot}%{_docdir}/cmake/Copyrigh
 %doc %{_docdir}/cmake
 %dir %{_datadir}/bash-completion
 %dir %{_datadir}/bash-completion/completions
-%{_datadir}/bash-completion/completions/{cmake,cpack,ctest}
+%{_datadir}/bash-completion/completions/*
 %dir %{_datadir}/emacs
 %dir %{_datadir}/emacs/site-lisp
 %{_datadir}/emacs/site-lisp/cmake-mode.el
openSUSE Build Service is sponsored by