#2 F28: Fix of python3-firehose requires both Python 2 and Python 3 (rhbz #1546797)
Merged 6 years ago by dmalcolm. Opened 6 years ago by churchyard.

file modified
+7 -1
@@ -6,7 +6,7 @@ 

  

  Name:           python-firehose

  Version:        0.5

- Release:        2%{?dist}

+ Release:        3%{?dist}

  Summary:        Library for working with output from static code analyzers

  

  License:        LGPLv2+
@@ -72,6 +72,9 @@ 

  %if 0%{?with_python3}

  rm -rf %{py3dir}

  cp -a . %{py3dir}

+ # Change shebang according to Python version

+ sed -i '1s=^#!/usr/bin/\(python\|env python\)[0-9.]*=#!%{__python3}=' %{py3dir}/firehose/parsers/cppcheck.py

+ sed -i '1s=^#!/usr/bin/\(python\|env python\)[0-9.]*=#!%{__python3}=' %{py3dir}/firehose/parsers/gcc.py

  %endif # with_python3

  

  
@@ -127,6 +130,9 @@ 

  

  

  %changelog

+ * Fri Mar 23 2018 Jan Beran <jberan@redhat.com> - 0.5-3

+ - Fix of python3-firehose requires both Python 2 and Python 3 (rhbz #1546797)

+ 

  * Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-2

  - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild