Build with python as /usr/bin/python2

Closes rhbz#1606471.
This commit is contained in:
My Karlsson 2018-07-26 20:28:06 +02:00
parent cbee9da385
commit 435c450779
1 changed files with 7 additions and 3 deletions

View File

@ -8,7 +8,7 @@
Name: syslog-ng
Version: %{syslog_ng_ver}
Release: 3%{?dist}
Release: 4%{?dist}
Summary: Next-generation syslog server
Group: System Environment/Daemons
@ -48,7 +48,7 @@ BuildRequires: libmaxminddb-devel
BuildRequires: librabbitmq-devel
# Test suite
BuildRequires: python2
BuildRequires: python2-devel
BuildRequires: python2-unittest2
BuildRequires: python2-nose
BuildRequires: python2-ply
@ -197,7 +197,8 @@ rm -rf modules/afmongodb/mongo-c-driver
%build
GEOIP_LIBS=-lGeoIP; export GEOIP_LIBS; \
export GEOIP_LIBS=-lGeoIP
export PYTHON=%{__python2}
%configure \
--prefix=%{_prefix} \
--sysconfdir=%{_sysconfdir}/%{name} \
@ -428,6 +429,9 @@ fi
%changelog
* Thu Jul 26 2018 My Karlsson <mk@acc.umu.se> - 3.16.1-4
- Build with python as /usr/bin/python2 (rhbz#1606471)
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.16.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild