Fix syntax warnings
This commit is contained in:
parent
f22496015e
commit
a15ae7afb4
@ -7,7 +7,7 @@
|
|||||||
Summary: HP Linux Imaging and Printing Project
|
Summary: HP Linux Imaging and Printing Project
|
||||||
Name: hplip
|
Name: hplip
|
||||||
Version: 3.23.5
|
Version: 3.23.5
|
||||||
Release: 5%{?dist}
|
Release: 6%{?dist}
|
||||||
License: GPLv2+ and MIT and BSD and IJG and GPLv2+ with exceptions and ISC
|
License: GPLv2+ and MIT and BSD and IJG and GPLv2+ with exceptions and ISC
|
||||||
|
|
||||||
Url: https://developers.hp.com/hp-linux-imaging-and-printing
|
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()
|
# 2221311 - [python3.12] hplip tools/binaries crash due depending on removed configparser.readfp()
|
||||||
# Upstream https://bugs.launchpad.net/hplip/+bug/2028001
|
# Upstream https://bugs.launchpad.net/hplip/+bug/2028001
|
||||||
Patch69: hplip-no-readfp.patch
|
Patch69: hplip-no-readfp.patch
|
||||||
|
# fix SyntaxWarning from python3.12
|
||||||
|
Patch70: hplip-use-raw-strings.patch
|
||||||
|
|
||||||
%if 0%{?fedora} || 0%{?rhel} <= 8
|
%if 0%{?fedora} || 0%{?rhel} <= 8
|
||||||
# mention hplip-gui if you want to have GUI
|
# 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()
|
# 2221311 - [python3.12] hplip tools/binaries crash due depending on removed configparser.readfp()
|
||||||
# Upstream https://bugs.launchpad.net/hplip/+bug/2028001
|
# Upstream https://bugs.launchpad.net/hplip/+bug/2028001
|
||||||
%patch -P 69 -p1 -b .no-readfp
|
%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
|
# Fedora specific patches now, don't put a generic patches under it
|
||||||
%if 0%{?fedora} || 0%{?rhel} <= 8
|
%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
|
%config(noreplace) %{_sysconfdir}/sane.d/dll.d/hpaio
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jul 21 2023 Zdenek Dohnal <zdohnal@redhat.com> - 3.23.5-6
|
||||||
|
- fix syntax warnings
|
||||||
|
|
||||||
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.23.5-5
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.23.5-5
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user