!3 use python2 explicitly in configure

Merge pull request !3 from algorithmofdish/master
This commit is contained in:
openeuler-ci-bot 2020-02-29 15:31:04 +08:00 committed by Gitee
commit 55373ee5ef
2 changed files with 42 additions and 9 deletions

View File

@ -3,12 +3,14 @@
Name: satyr Name: satyr
Version: 0.27 Version: 0.27
Release: 4 Release: 5
Summary: Tools to create anonymous, machine-friendly problem reports Summary: Tools to create anonymous, machine-friendly problem reports
License: GPLv2+ License: GPLv2+
URL: https://github.com/abrt/satyr URL: https://github.com/abrt/satyr
Source0: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz Source0: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
Patch9001: use-python2-explicitly-in-configure.patch
BuildRequires: elfutils-devel elfutils-libelf-devel binutils-devel rpm-devel libtool BuildRequires: elfutils-devel elfutils-libelf-devel binutils-devel rpm-devel libtool
BuildRequires: doxygen pkgconfig automake gcc-c++ gdb git BuildRequires: doxygen pkgconfig automake gcc-c++ gdb git
@ -120,6 +122,12 @@ make check|| {
%{_mandir}/* %{_mandir}/*
%changelog %changelog
* Fri Feb 28 2020 hexiujun <hexiujun1@huawei.com> - 0.27-5
- Type:enhancement
- Id:NA
- SUG:NA
- DESC:use python2 explicitly in configure
* Wed Jan 22 2020 openEuler Buildteam <buildteam@openeuler.org> - 0.27-4 * Wed Jan 22 2020 openEuler Buildteam <buildteam@openeuler.org> - 0.27-4
- Type:bugfix - Type:bugfix
- Id:NA - Id:NA

View File

@ -0,0 +1,25 @@
From 23315167127777c5fbd2abcd2e4fb58382f37179 Mon Sep 17 00:00:00 2001
From: hexiujun <hexiujun1@huawei.com>
Date: Fri, 28 Feb 2020 09:29:00 +0800
Subject: [PATCH] use python2 explicitly in configure
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index dca3c2d..9baa188 100644
--- a/configure.ac
+++ b/configure.ac
@@ -60,7 +60,7 @@ AC_ARG_WITH([python2],
AM_CONDITIONAL(WITH_PYTHON2, [test $with_python2 = yes])
[if test "$with_python2" = "yes"]
[then]
- AC_PATH_PROG([PYTHON], [python], [no])
+ AC_PATH_PROG([PYTHON], [python2], [no])
[if test "$PYTHON" = "no"]
[then]
[echo "The python program was not found in the search path. Please ensure"]
--
1.8.3.1