From aa6d0d2ac52d4156a3570df9880f94aec9895f0a Mon Sep 17 00:00:00 2001 From: h00465007 Date: Sat, 29 Feb 2020 10:59:27 +0800 Subject: [PATCH] use python2 explicitly in build environment --- ...est-err.patch => avahi-modify-fuzz-test-err.patch | 0 avahi.spec | 12 +++++++++--- 2 files changed, 9 insertions(+), 3 deletions(-) rename huawei-avahi-modify-fuzz-test-err.patch => avahi-modify-fuzz-test-err.patch (100%) diff --git a/huawei-avahi-modify-fuzz-test-err.patch b/avahi-modify-fuzz-test-err.patch similarity index 100% rename from huawei-avahi-modify-fuzz-test-err.patch rename to avahi-modify-fuzz-test-err.patch diff --git a/avahi.spec b/avahi.spec index 18229ea..cebfb07 100644 --- a/avahi.spec +++ b/avahi.spec @@ -1,6 +1,6 @@ Name: avahi Version: 0.7 -Release: 20 +Release: 21 Summary: Avahi is a local network service discovery License: LGPLv2+ URL: http://avahi.org @@ -8,7 +8,7 @@ Source0: http://avahi.org/download/%{name}-%{version}.tar.gz Patch1: avahi-0.6.30-mono-libdir.patch Patch6000: CVE-2017-6519-Drop-legacy-unicast-queries-from-address-not-on-loca.patch -Patch9000: huawei-avahi-modify-fuzz-test-err.patch +Patch9000: avahi-modify-fuzz-test-err.patch BuildRequires: gcc automake libtool python2-dbus python2-libxml2 desktop-file-utils gtk2-devel glib2-devel BuildRequires: libcap-devel expat-devel python2-devel python3-devel gdbm-devel pygobject3-devel pygtk2 @@ -164,7 +164,7 @@ NOCONFIGURE=1 ./autogen.sh --enable-shared=yes --enable-static=no --disable-silent-rules \ --enable-compat-libdns_sd --enable-compat-howl --disable-qt3 \ --disable-qt4 --disable-mono \ - --with-distro=none + --with-distro=none PYTHON=%{__python2} %make_build -k V=1 || make V=1 @@ -408,6 +408,12 @@ fi %{_mandir}/man8/* %changelog +* Sat Feb 29 2020 hexiujun - 0.7-21 +- Type:NA +- ID:NA +- SUG:NA +- DESC:use python2 explicitly in build environment + * Tue Feb 25 2020 openEuler Buildteam - 0.7-20 - Type:NA - ID:NA