diff --git a/hplip-cups-backend.patch b/hplip-cups-backend.patch new file mode 100644 index 0000000..22474d5 --- /dev/null +++ b/hplip-cups-backend.patch @@ -0,0 +1,11 @@ +--- hplip-0.9.10/configure.in.cups-backend 2006-03-28 13:48:42.000000000 +0100 ++++ hplip-0.9.10/configure.in 2006-03-28 13:49:03.000000000 +0100 +@@ -71,7 +71,7 @@ + AC_MSG_RESULT(no) + fi + +-CUPSSEARCHPATH="/usr/share /usr/local/share /usr/lib /usr/local/lib /usr/libexec /usr/lib64 /opt" ++CUPSSEARCHPATH="/usr/share /usr/local/share /usr/lib /usr/local/lib /usr/libexec /opt" + + AC_MSG_CHECKING("for cups ppd path") + CUPS_PPD_PATH="/usr/share/cups" diff --git a/hplip.spec b/hplip.spec index 60d6333..d6e19c8 100644 --- a/hplip.spec +++ b/hplip.spec @@ -13,6 +13,7 @@ Source: http://kent.dl.sourceforge.net/sourceforge/hpinkjet/%{name}-%{version}.t Patch1: hplip-desktop.patch Patch2: hplip-config.patch Patch3: hplip-quiet.patch +Patch4: hplip-cups-backend.patch BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot Requires: desktop-file-utils >= 0.2.92 @@ -68,6 +69,10 @@ rm -rf $RPM_BUILD_DIR/%{name}-%{version} # Quieten hpssd on startup. %patch3 -p1 -b .quiet +# Always use /usr/lib/cups/backend. +%patch4 -p1 -b .cups-backend +autoconf + %build %configure --disable-foomatic-install --disable-cups-install make @@ -155,6 +160,9 @@ if ! grep ^hpaio /etc/sane.d/dll.conf >/dev/null 2>/dev/null ; then \ fi %changelog +* Tue Mar 28 2006 Tim Waugh +- Always use /usr/lib/cups/backend. + * Tue Mar 28 2006 Tim Waugh 0.9.10-2 - 0.9.10. - Ship PPDs.