filters: don't use 'env' when starting Python (bug #1202451).
Resolves: rhbz#1202451
This commit is contained in:
parent
35446f4acc
commit
378ff6eaa3
@ -7,7 +7,7 @@
|
|||||||
Summary: HP Linux Imaging and Printing Project
|
Summary: HP Linux Imaging and Printing Project
|
||||||
Name: hplip
|
Name: hplip
|
||||||
Version: 3.15.2
|
Version: 3.15.2
|
||||||
Release: 6%{?dist}
|
Release: 7%{?dist}
|
||||||
License: GPLv2+ and MIT
|
License: GPLv2+ and MIT
|
||||||
|
|
||||||
Url: http://hplip.sourceforge.net/
|
Url: http://hplip.sourceforge.net/
|
||||||
@ -232,6 +232,9 @@ sed -i.duplex-constraints \
|
|||||||
# Change shebang /usr/bin/env python -> /usr/bin/python3 (bug #618351).
|
# Change shebang /usr/bin/env python -> /usr/bin/python3 (bug #618351).
|
||||||
find -name '*.py' -print0 | xargs -0 \
|
find -name '*.py' -print0 | xargs -0 \
|
||||||
sed -i.env-python -e 's,^#!/usr/bin/env python,#!%{__python3},'
|
sed -i.env-python -e 's,^#!/usr/bin/env python,#!%{__python3},'
|
||||||
|
sed -i.env-python -e 's,^#!/usr/bin/env python,#!%{__python3},' \
|
||||||
|
prnt/filters/hpps \
|
||||||
|
fax/filters/pstotiff
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure \
|
%configure \
|
||||||
@ -477,6 +480,9 @@ rm -f ppds-all
|
|||||||
%postun libs -p /sbin/ldconfig
|
%postun libs -p /sbin/ldconfig
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Mar 20 2015 Tim Waugh <twaugh@redhat.com> - 3.15.2-7
|
||||||
|
- filters: don't use 'env' when starting Python (bug #1202451).
|
||||||
|
|
||||||
* Mon Mar 16 2015 Tim Waugh <twaugh@redhat.com> - 3.15.2-6
|
* Mon Mar 16 2015 Tim Waugh <twaugh@redhat.com> - 3.15.2-6
|
||||||
- Ignore IOError when logging output (bug #712537).
|
- Ignore IOError when logging output (bug #712537).
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user