fix build err,can not find foomatic-rip

(cherry picked from commit d8731b1d783f15549e03dc49601924bc930326b0)
This commit is contained in:
shirely16 2022-01-10 17:30:05 +08:00 committed by openeuler-sync-bot
parent 566a10bfd8
commit 1c2d3dc8f3

View File

@ -2,7 +2,7 @@
Summary: OpenPrinting CUPS filters, backends, and cups-browsed
Name: cups-filters
Version: 1.28.9
Release: 1
Release: 2
License: GPLv2 and GPLv2+ and GPLv3 and GPLv3+ and LGPLv2+ and MIT and BSD with advertising
Url: http://www.linuxfoundation.org/collaborate/workgroups/openprinting/cups-filters
Source0: http://www.openprinting.org/download/cups-filters/cups-filters-%{version}.tar.xz
@ -68,7 +68,8 @@ install -d %{buildroot}%{_pkgdocdir}/fontembed/
cp -p fontembed/README %{buildroot}%{_pkgdocdir}/fontembed/
install -d %{buildroot}%{_unitdir}
install -p -m 644 utils/%{_service} %{buildroot}%{_unitdir}
cp -a %{_cups_serverbin}/filter/foomatic-rip %{buildroot}%{_bindir}/foomatic-rip
ln -sf %{_cups_serverbin}/filter/foomatic-rip %{buildroot}%{_bindir}/foomatic-rip
sed -i '/urftopdf/d' %{buildroot}%{_datadir}/cups/mime/cupsfilters.convs
%check
@ -157,6 +158,9 @@ fi
%{_mandir}/man8/cups-browsed.8.gz
%changelog
* Mon Jan 10 2021 hanhui <hanhui15@huawei.com> - 1.28.9-2
- fix build err,can not find foomatic-rip
* Fri Jul 30 2021 yushaogui <yusahogui@huawei.com> - 1.28.9-1
- update cups-filtres package to 1.28.9