From 378ff6eaa3f91912b4ca50e731f3eae16ff69ee2 Mon Sep 17 00:00:00 2001 From: Tim Waugh Date: Fri, 20 Mar 2015 11:15:11 +0000 Subject: [PATCH] filters: don't use 'env' when starting Python (bug #1202451). Resolves: rhbz#1202451 --- hplip.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/hplip.spec b/hplip.spec index 60d687f..f10de77 100644 --- a/hplip.spec +++ b/hplip.spec @@ -7,7 +7,7 @@ Summary: HP Linux Imaging and Printing Project Name: hplip Version: 3.15.2 -Release: 6%{?dist} +Release: 7%{?dist} License: GPLv2+ and MIT Url: http://hplip.sourceforge.net/ @@ -232,6 +232,9 @@ sed -i.duplex-constraints \ # Change shebang /usr/bin/env python -> /usr/bin/python3 (bug #618351). 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},' \ + prnt/filters/hpps \ + fax/filters/pstotiff %build %configure \ @@ -477,6 +480,9 @@ rm -f ppds-all %postun libs -p /sbin/ldconfig %changelog +* Fri Mar 20 2015 Tim Waugh - 3.15.2-7 +- filters: don't use 'env' when starting Python (bug #1202451). + * Mon Mar 16 2015 Tim Waugh - 3.15.2-6 - Ignore IOError when logging output (bug #712537).