make shebangs unambiguous

https://fedoraproject.org/wiki/Changes/Make_ambiguous_python_shebangs_error
This commit is contained in:
Michael J Gruber 2018-09-10 14:25:37 +02:00
parent ff048b2a2c
commit 0e5ce27b31

View File

@ -1,6 +1,6 @@
Name: dblatex Name: dblatex
Version: 0.3.10 Version: 0.3.10
Release: 7%{?dist} Release: 8%{?dist}
Summary: DocBook to LaTeX/ConTeXt Publishing Summary: DocBook to LaTeX/ConTeXt Publishing
BuildArch: noarch BuildArch: noarch
# Most of package is GPLv2+, except: # Most of package is GPLv2+, except:
@ -36,6 +36,7 @@ BuildRequires: texlive-pdfpages
BuildRequires: texlive-subfigure BuildRequires: texlive-subfigure
BuildRequires: texlive-stmaryrd BuildRequires: texlive-stmaryrd
BuildRequires: texlive-wasysym BuildRequires: texlive-wasysym
Buildrequires: /usr/bin/pathfix.py
Requires: texlive-base Requires: texlive-base
Requires: texlive-collection-latex Requires: texlive-collection-latex
Requires: texlive-collection-xetex Requires: texlive-collection-xetex
@ -81,6 +82,7 @@ Authors:
%patch0 -p1 -b .external-which %patch0 -p1 -b .external-which
%patch1 -p1 -b .disable-debian %patch1 -p1 -b .disable-debian
rm -rf lib/contrib rm -rf lib/contrib
pathfix.py -pni "%{__python2} %{py2_shbang_opts}" .
%build %build
%{__python2} setup.py build %{__python2} setup.py build
@ -130,6 +132,9 @@ cp -p %{SOURCE1} COPYING-docbook-xsl
%postun -p /usr/bin/texhash %postun -p /usr/bin/texhash
%changelog %changelog
* Mon Sep 10 2018 Michael J Gruber <mjg@fedoraproject.org> - 0.3.10-8
- make shebangs unambiguous
* Fri Jul 13 2018 Michael J Gruber <mjg@fedoraproject.org> - 0.3.10-7 * Fri Jul 13 2018 Michael J Gruber <mjg@fedoraproject.org> - 0.3.10-7
- adjust to py2 packaging guidelines (fix FTBFS on rawhide) - adjust to py2 packaging guidelines (fix FTBFS on rawhide)