genders/also-check-for-python3.patch
Christian Goll 2bfa2d44dc Accepting request 1039211 from home:StevenK:branches:network:cluster
- Actually move Python plugin to building with Python 3, and rename the
  Python binding package to reflect this.
- Add patch also-check-for-python3.patch to check for Python 3 as well.

OBS-URL: https://build.opensuse.org/request/show/1039211
OBS-URL: https://build.opensuse.org/package/show/network:cluster/genders?expand=0&rev=28
2022-12-01 07:26:00 +00:00

14 lines
528 B
Diff

Index: genders-1.27.3/configure.ac
===================================================================
--- genders-1.27.3.orig/configure.ac
+++ genders-1.27.3/configure.ac
@@ -80,7 +80,7 @@ AM_PROG_LEX
AC_PROG_YACC
AM_CONDITIONAL(WITH_GNU_LD, test "$with_gnu_ld" = "yes")
AC_PATH_PROG([PERL], [perl])
-AC_PATH_PROG([PYTHON], [python])
+AC_PATH_PROG([PYTHON], [python], [python3])
AC_PATH_PROG([POD2MAN], [pod2man], [/usr/bin/pod2man], [$PATH:/usr/perl5/bin/])
AC_PATH_PROG([JAVAC], [javac])
AC_PATH_PROG([JAVAH], [javah])