From 58e54f38292b9fdab7d49215c4e099c41add74b2 Mon Sep 17 00:00:00 2001 From: ouyangminxiang Date: Wed, 30 Mar 2022 11:53:31 +0800 Subject: [PATCH] fix lp command can not be found --- hplip.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/hplip.spec b/hplip.spec index cc1b806..d513ab6 100644 --- a/hplip.spec +++ b/hplip.spec @@ -1,7 +1,7 @@ Name: hplip Summary: HP Linux Imaging and Printing Project Version: 3.18.6 -Release: 11 +Release: 12 License: GPLv2+ and MIT and BSD and IJG and Public Domain and GPLv2+ with exceptions and ISC Url: https://developers.hp.com/hp-linux-imaging-and-printing Source0: https://sourceforge.net/projects/%{name}/files/%{name}/%{version}/%{name}-%{version}.tar.gz/download?use_mirror=ufpr#/%{name}-%{version}.tar.gz @@ -202,6 +202,7 @@ install -d ${RPM_BUILD_ROOT}%{_datadir}/hplip/prnt/plugins %post %{_bindir}/hpcups-update-ppds &>/dev/null ||: /sbin/ldconfig +/usr/bin/ln -s lp.cups /usr/bin/lp %postun /sbin/ldconfig @@ -274,6 +275,9 @@ install -d ${RPM_BUILD_ROOT}%{_datadir}/hplip/prnt/plugins %exclude %{python3_sitearch}/*.la %changelog +* Wed Mar 30 2022 ouyangminxiang - 3.18.6-12 +- fix lp command can not be found + * Tue Sep 15 2020 Ge Wang - 3.18.6-11 - Modify Source0 Url -- Gitee