From 33e47273078ea5597046ee645e6cdcb1b9421189 Mon Sep 17 00:00:00 2001 From: Andrey Bondrov Date: Fri, 27 Jan 2017 00:09:54 +1000 Subject: [PATCH] Drop unused kde4-kdesudo-support patch --- hplip.spec | 4 ---- mga-kde4-kdesudo-support.patch | 13 ------------- 2 files changed, 17 deletions(-) delete mode 100644 mga-kde4-kdesudo-support.patch diff --git a/hplip.spec b/hplip.spec index 03f20eb..afa0f61 100644 --- a/hplip.spec +++ b/hplip.spec @@ -68,7 +68,6 @@ Patch204: 85_rebuild_python_ui.dpatch Patch206: hplip-photosmart_b9100_support.patch Patch207: pjl-duplex-binding.dpatch #hplip-pjl-duplex-binding.patch -Patch208: mga-kde4-kdesudo-support.patch Patch209: hp-check-groups.dpatch Patch210: hplip-3.15.11-mga-plasma-delay-startup.patch # (doktor5000) rediff original debian patch for hplip 3.11.10 @@ -434,9 +433,6 @@ sed -i.duplex-constraints \ # https://bugs.launchpad.net/hplip/+bug/244295 %patch207 -p1 -b .hplip-pjl-duplex-binding -# original patch from debian, path to kdesu added for %%_libdir on x86_64 -# %patch208 -p1 -b .mga-kde4-kdesudo-support - # https://bugs.launchpad.net/debian/+source/hplip/+bug/530746 %patch209 -p1 -b .hp-check-groups diff --git a/mga-kde4-kdesudo-support.patch b/mga-kde4-kdesudo-support.patch deleted file mode 100644 index 7f66699..0000000 --- a/mga-kde4-kdesudo-support.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- hplip-3.13.10/base/password.py 2013-10-11 09:40:14.000000000 +0000 -+++ hplip-3.13.10/base/password.py.tpg 2013-10-19 11:33:59.821243929 +0000 -@@ -297,6 +297,10 @@ - ''' - if utils.which('kdesu'): - AuthType, AuthCmd = 'kdesu', 'kdesu -- %s' -+ elif utils.which('/usr/lib64/kde4/libexec/kdesu'): -+ AuthType, AuthCmd = '/usr/lib64/kde4/libexec/kdesu', 'kdesu -- %s' -+ elif utils.which('/usr/lib/kde4/libexec/kdesu'): -+ AuthType, AuthCmd = '/usr/lib/kde4/libexec/kdesu', 'kdesu -- %s' - elif utils.which('kdesudo'): - AuthType, AuthCmd = 'kdesudo', 'kdesudo -- %s' - elif utils.which('gnomesu'):