use exact foomatic-rip filter to comply with LSB

This commit is contained in:
Zdenek Dohnal 2023-12-19 13:56:50 +01:00
parent e6af6aa338
commit 8f9f9c570a

View File

@ -13,7 +13,7 @@ Summary: OpenPrinting CUPS filters and backends for CUPS 2.X
Name: cups-filters
Epoch: 1
Version: 2.0.0
Release: 1%{?dist}
Release: 2%{?dist}
# the CUPS exception text is the same as LLVM exception, so using that name with
# agreement from legal team
@ -105,9 +105,10 @@ install -p -m 0644 %{SOURCE1} %{buildroot}%{_datadir}/ppd/cupsfilters/lftocrlf.p
# LSB3.2 requires /usr/bin/foomatic-rip,
# create it temporarily as a relative symlink
# (2.0b3) try using universal filter, it should have foomatic-rip functionality
#ln -sf %{_cups_serverbin}/filter/foomatic-rip %{buildroot}%{_bindir}/foomatic-rip
ln -sf %{_cups_serverbin}/filter/universal %{buildroot}%{_bindir}/foomatic-rip
# we may use symlink to universal filter, but LSB is about guaranteed compatibility set
# among distibutions, so rather have the strict foomatic-rip filter...
ln -sf %{_cups_serverbin}/filter/foomatic-rip %{buildroot}%{_bindir}/foomatic-rip
#ln -sf %{_cups_serverbin}/filter/universal %{buildroot}%{_bindir}/foomatic-rip
# remove license files which are in %%pkgdocdir
rm -f %{buildroot}%{_pkgdocdir}/{COPYING,NOTICE,LICENSE}
@ -180,6 +181,9 @@ make check
%changelog
* Tue Dec 19 2023 Zdenek Dohnal <zdohnal@redhat.com> - 1:2.0.0-2
- use exact foomatic-rip filter to comply with LSB
* Thu Oct 19 2023 Zdenek Dohnal <zdohnal@redhat.com> - 1:2.0.0-1
- rebase to 2.0.0