evolution-data-server/eds-python3.patch
Dominique Leuenberger eb61dd6385 Accepting request 576988 from home:scarabeus_iv:branches:GNOME:Factory
- Format with spec-cleaner
- Move license to %license tag
- Allow building with python3 instead of python2:
  + eds-python3.patch
- Drop obsolete obsoletes for 64bit and 32bit packages

OBS-URL: https://build.opensuse.org/request/show/576988
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/evolution-data-server?expand=0&rev=309
2018-02-15 17:06:31 +00:00

14 lines
511 B
Diff

Index: evolution-data-server-3.26.5/CMakeLists.txt
===================================================================
--- evolution-data-server-3.26.5.orig/CMakeLists.txt
+++ evolution-data-server-3.26.5/CMakeLists.txt
@@ -296,7 +296,7 @@ if(NOT PERL)
message(FATAL_ERROR "You need perl to build ${PROJECT_NAME}")
endif(NOT PERL)
-find_program(PYTHON python)
+find_program(PYTHON python3 python2 python)
if(NOT PYTHON)
message(FATAL_ERROR "You need python to build ${PROJECT_NAME}")
endif(NOT PYTHON)