diff --git a/syslog-ng.spec b/syslog-ng.spec index 0aeebe2..496b97e 100644 --- a/syslog-ng.spec +++ b/syslog-ng.spec @@ -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 - 3.17.2-2 +- Fix ambiguous python shebang + * Sat Aug 11 2018 My Karlsson - 3.17.2-1 - Update to version 3.17.2 (rhbz#1614997)