bootstrap cups to prevent conflicts for now

This commit is contained in:
Zdenek Dohnal 2023-02-16 15:12:55 +01:00
parent 7b16f04327
commit a98e862e5b

View File

@ -2,10 +2,11 @@
# don't build libppd-tools until CUPS 3.x drops them
%bcond_with tools
%bcond_without bootstrap
Name: libppd
Version: 2.0b3
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Library for retro-fitting legacy printer drivers
# the CUPS exception text is the same as LLVM exception, so using that name with
@ -50,6 +51,7 @@ BuildRequires: pkgconfig(zlib)
# pdftops has to be in buildroot due configure check
BuildRequires: poppler-utils
%if %{without bootstrap}
%if %{without tools}
# libppd exports symbols for compiling PPD compilers, which needs charset
# definitions and header files during runtime to generate a PPD file - those
@ -58,6 +60,7 @@ Requires: cups
%else
Requires: %{name}-tools%{?_isa} = %{version}-%{release}
%endif
%endif
# needded for hybrid pdftops filter function - for all legacy printers
# except for Brother and Minolta/Konica Minolta, which firmware bugs
# doesn't work with pdftops from GS
@ -187,5 +190,8 @@ rm -rf %{buildroot}%{_datadir}/ppdc
%endif
%changelog
* Thu Feb 16 2023 Zdenek Dohnal <zdohnal@redhat.com> - 2.0b3-2
- bootstrap cups to prevent conflicts for now
* Wed Feb 01 2023 Zdenek Dohnal <zdohnal@redhat.com> - 2.0b3-1
- Initial import