Fix ambiguous python shebang

This commit is contained in:
My Karlsson 2018-10-07 15:45:23 +02:00
parent bbd91c3e94
commit b4dc121e6c

View File

@ -8,7 +8,7 @@
Name: syslog-ng
Version: %{syslog_ng_ver}
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Next-generation syslog server
Group: System Environment/Daemons
@ -58,6 +58,8 @@ BuildRequires: python2-six
# Test suite: the SQL tests
BuildRequires: libdbi-dbd-sqlite
BuildRequires: /usr/bin/pathfix.py
Requires: logrotate
Requires: ivykis >= %{ivykis_ver}
Requires(post): systemd-units
@ -195,6 +197,9 @@ rm -rf modules/afmongodb/mongo-c-driver
/usr/bin/iconv -f iso8859-1 -t utf-8 AUTHORS > AUTHORS.conv && \
%{__mv} -f AUTHORS.conv AUTHORS
# Fix python shebang
pathfix.py -pni "%{__python2} %{py2_shbang_opts}" lib/merge-grammar.py
%build
export GEOIP_LIBS=-lGeoIP
@ -429,6 +434,9 @@ fi
%changelog
* Sun Oct 07 2018 My Karlsson <mk@acc.umu.se> - 3.17.2-2
- Fix ambiguous python shebang
* Sat Aug 11 2018 My Karlsson <mk@acc.umu.se> - 3.17.2-1
- Update to version 3.17.2 (rhbz#1614997)