!4 use python2 explicitly in build environment

Merge pull request !4 from algorithmofdish/master
This commit is contained in:
openeuler-ci-bot 2020-02-29 15:30:25 +08:00 committed by Gitee
commit 506f6be741
2 changed files with 9 additions and 3 deletions

View File

@ -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 <hexiujun1@huawei.com> - 0.7-21
- Type:NA
- ID:NA
- SUG:NA
- DESC:use python2 explicitly in build environment
* Tue Feb 25 2020 openEuler Buildteam <buildteam@openeuler.org> - 0.7-20
- Type:NA
- ID:NA