- Always use /usr/lib/cups/backend.

This commit is contained in:
Tim Waugh 2006-03-28 12:54:01 +00:00
parent c511f05e9f
commit 7e587a41b8
2 changed files with 19 additions and 0 deletions

11
hplip-cups-backend.patch Normal file
View File

@ -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"

View File

@ -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 <twaugh@redhat.com>
- Always use /usr/lib/cups/backend.
* Tue Mar 28 2006 Tim Waugh <twaugh@redhat.com> 0.9.10-2
- 0.9.10.
- Ship PPDs.