diff --git a/cups-bjnp.spec b/cups-bjnp.spec index 76efde8..f060677 100644 --- a/cups-bjnp.spec +++ b/cups-bjnp.spec @@ -1,6 +1,6 @@ Name: cups-bjnp Version: 2.0.3 -Release: 1mamba +Release: 2mamba Summary: CUPS back-end for the canon printers using the proprietary USB over IP BJNP protocol Group: System/Spooling Vendor: openmamba @@ -13,13 +13,16 @@ License: LGPL BuildRequires: glibc-devel BuildRequires: libcups-devel ## AUTOBUILDREQ-END -BuildRoot: %{_tmppath}/%{name}-%{version}-root %description CUPS back-end for the canon printers using the proprietary USB over IP BJNP protocol. This back-end allows Cups to print over the network to a Canon printer. It currently supports Cups 1.2 and later. It is designed using reverse engineering. +%debug_package + %prep %setup -q +# gcc 12: remove always-true comparison '(printer_id != NULL)' +sed -i '188d;191d' bjnp-commands.c %build %configure @@ -39,6 +42,9 @@ CUPS back-end for the canon printers using the proprietary USB over IP BJNP prot # ChangeLog NEWS README TODO %changelog +* Thu Dec 29 2022 Silvan Calarco 2.0.3-2mamba +- rebuilt with debug package and build fix against gcc 12 + * Thu Feb 04 2021 Automatic Build System 2.0.3-1mamba - automatic version update by autodist