Don't try to write bytecode cache for hpfax backend (bug #1192761).
Resolves: rhbz#1192761
This commit is contained in:
parent
3e8bb63ccc
commit
5da93b90f8
9
hplip-no-write-bytecode.patch
Normal file
9
hplip-no-write-bytecode.patch
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
diff -up hplip-3.15.2/fax/backend/hpfax.py.no-write-bytecode hplip-3.15.2/fax/backend/hpfax.py
|
||||||
|
--- hplip-3.15.2/fax/backend/hpfax.py.no-write-bytecode 2015-03-03 11:47:12.863274174 +0000
|
||||||
|
+++ hplip-3.15.2/fax/backend/hpfax.py 2015-03-03 11:47:19.719336663 +0000
|
||||||
|
@@ -1,4 +1,4 @@
|
||||||
|
-#!/usr/bin/env python
|
||||||
|
+#!/usr/bin/env python -B
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
#
|
||||||
|
# (c) Copyright 2003-2009 Hewlett-Packard Development Company, L.P.
|
@ -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: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
License: GPLv2+ and MIT
|
License: GPLv2+ and MIT
|
||||||
|
|
||||||
Url: http://hplip.sourceforge.net/
|
Url: http://hplip.sourceforge.net/
|
||||||
@ -35,6 +35,7 @@ Patch18: hplip-avahi-parsing.patch
|
|||||||
Patch19: hplip-reportlab.patch
|
Patch19: hplip-reportlab.patch
|
||||||
Patch20: hplip-dj990c-margin.patch
|
Patch20: hplip-dj990c-margin.patch
|
||||||
Patch21: hplip-strncpy.patch
|
Patch21: hplip-strncpy.patch
|
||||||
|
Patch22: hplip-no-write-bytecode.patch
|
||||||
|
|
||||||
%global hpijs_epoch 1
|
%global hpijs_epoch 1
|
||||||
Requires: hpijs%{?_isa} = %{hpijs_epoch}:%{version}-%{release}
|
Requires: hpijs%{?_isa} = %{hpijs_epoch}:%{version}-%{release}
|
||||||
@ -217,6 +218,9 @@ done
|
|||||||
# Fixed uses of strncpy throughout.
|
# Fixed uses of strncpy throughout.
|
||||||
%patch21 -p1 -b .strncpy
|
%patch21 -p1 -b .strncpy
|
||||||
|
|
||||||
|
# Don't try to write bytecode cache for hpfax backend (bug #1192761).
|
||||||
|
%patch22 -p1 -b .no-write-bytecode
|
||||||
|
|
||||||
sed -i.duplex-constraints \
|
sed -i.duplex-constraints \
|
||||||
-e 's,\(UIConstraints.* \*Duplex\),//\1,' \
|
-e 's,\(UIConstraints.* \*Duplex\),//\1,' \
|
||||||
prnt/drv/hpcups.drv.in
|
prnt/drv/hpcups.drv.in
|
||||||
@ -453,6 +457,9 @@ rm -f %{buildroot}%{_sysconfdir}/xdg/autostart/hplip-systray.desktop
|
|||||||
%postun libs -p /sbin/ldconfig
|
%postun libs -p /sbin/ldconfig
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Mar 3 2015 Tim Waugh <twaugh@redhat.com> - 3.15.2-3
|
||||||
|
- Don't try to write bytecode cache for hpfax backend (bug #1192761).
|
||||||
|
|
||||||
* Thu Feb 12 2015 Tim Waugh <twaugh@redhat.com> - 3.15.2-2
|
* Thu Feb 12 2015 Tim Waugh <twaugh@redhat.com> - 3.15.2-2
|
||||||
- Don't ship hp-logcapture or hp-doctor (bug #1192090). They are not
|
- Don't ship hp-logcapture or hp-doctor (bug #1192090). They are not
|
||||||
useful in Fedora.
|
useful in Fedora.
|
||||||
|
Loading…
Reference in New Issue
Block a user