From 0e5ce27b314d1506ba6267b19e204806d90111f1 Mon Sep 17 00:00:00 2001 From: Michael J Gruber Date: Mon, 10 Sep 2018 14:25:37 +0200 Subject: [PATCH] make shebangs unambiguous https://fedoraproject.org/wiki/Changes/Make_ambiguous_python_shebangs_error --- dblatex.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/dblatex.spec b/dblatex.spec index fbb1c32..06b46af 100644 --- a/dblatex.spec +++ b/dblatex.spec @@ -1,6 +1,6 @@ Name: dblatex Version: 0.3.10 -Release: 7%{?dist} +Release: 8%{?dist} Summary: DocBook to LaTeX/ConTeXt Publishing BuildArch: noarch # Most of package is GPLv2+, except: @@ -36,6 +36,7 @@ BuildRequires: texlive-pdfpages BuildRequires: texlive-subfigure BuildRequires: texlive-stmaryrd BuildRequires: texlive-wasysym +Buildrequires: /usr/bin/pathfix.py Requires: texlive-base Requires: texlive-collection-latex Requires: texlive-collection-xetex @@ -81,6 +82,7 @@ Authors: %patch0 -p1 -b .external-which %patch1 -p1 -b .disable-debian rm -rf lib/contrib +pathfix.py -pni "%{__python2} %{py2_shbang_opts}" . %build %{__python2} setup.py build @@ -130,6 +132,9 @@ cp -p %{SOURCE1} COPYING-docbook-xsl %postun -p /usr/bin/texhash %changelog +* Mon Sep 10 2018 Michael J Gruber - 0.3.10-8 +- make shebangs unambiguous + * Fri Jul 13 2018 Michael J Gruber - 0.3.10-7 - adjust to py2 packaging guidelines (fix FTBFS on rawhide)