diff --git a/hplip.spec b/hplip.spec index 837e894..f869098 100644 --- a/hplip.spec +++ b/hplip.spec @@ -7,7 +7,7 @@ Summary: HP Linux Imaging and Printing Project Name: hplip Version: 3.23.5 -Release: 5%{?dist} +Release: 6%{?dist} License: GPLv2+ and MIT and BSD and IJG and GPLv2+ with exceptions and ISC Url: https://developers.hp.com/hp-linux-imaging-and-printing @@ -232,6 +232,8 @@ Patch68: hplip-plugin-curl.patch # 2221311 - [python3.12] hplip tools/binaries crash due depending on removed configparser.readfp() # Upstream https://bugs.launchpad.net/hplip/+bug/2028001 Patch69: hplip-no-readfp.patch +# fix SyntaxWarning from python3.12 +Patch70: hplip-use-raw-strings.patch %if 0%{?fedora} || 0%{?rhel} <= 8 # mention hplip-gui if you want to have GUI @@ -584,6 +586,7 @@ done # 2221311 - [python3.12] hplip tools/binaries crash due depending on removed configparser.readfp() # Upstream https://bugs.launchpad.net/hplip/+bug/2028001 %patch -P 69 -p1 -b .no-readfp +%patch -P 70 -p1 -b .raw-strings # Fedora specific patches now, don't put a generic patches under it %if 0%{?fedora} || 0%{?rhel} <= 8 @@ -955,6 +958,9 @@ find doc/images -type f -exec chmod 644 {} \; %config(noreplace) %{_sysconfdir}/sane.d/dll.d/hpaio %changelog +* Fri Jul 21 2023 Zdenek Dohnal - 3.23.5-6 +- fix syntax warnings + * Thu Jul 20 2023 Fedora Release Engineering - 3.23.5-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild