use python2 explicitly in build environment
This commit is contained in:
parent
4d727805a8
commit
aa6d0d2ac5
12
avahi.spec
12
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 <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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user