diff --git a/SOURCES/0001-add-msvsphere-support.patch b/SOURCES/0001-add-msvsphere-support.patch new file mode 100644 index 0000000..4419f51 --- /dev/null +++ b/SOURCES/0001-add-msvsphere-support.patch @@ -0,0 +1,25 @@ +From d049799221b8005d2d60205ff9fe05b998bbce73 Mon Sep 17 00:00:00 2001 +From: Sergey Cherevko +Date: Tue, 28 Jan 2025 10:56:43 +0300 +Subject: [PATCH] add msvsphere support + +--- + base/password.py | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/base/password.py b/base/password.py +index 35caa4d..4ab2fd2 100644 +--- a/base/password.py ++++ b/base/password.py +@@ -60,6 +60,8 @@ def get_distro_std_name(os_name): + os_name = 'manjarolinux' + elif "fedora" in os_name: + os_name = 'fedora' ++ elif "msvsphere" in os_name: ++ os_name = 'msvsphere' + + return os_name + +-- +2.43.5 + diff --git a/SPECS/hplip.spec b/SPECS/hplip.spec index 4459e32..f5c6e35 100644 --- a/SPECS/hplip.spec +++ b/SPECS/hplip.spec @@ -7,7 +7,7 @@ Summary: HP Linux Imaging and Printing Project Name: hplip Version: 3.23.12 -Release: 7%{?dist} +Release: 7%{?dist}.inferit # most files (base/*, *, ui*/...) - GPL2+ # prnt/hpijs/ jpeg related files - IJG # prnt/* - BSD-3-Clause-HP - it is modified a little, asked here https://gitlab.com/fedora/legal/fedora-license-data/-/issues/267 @@ -244,6 +244,8 @@ Patch71: hplip-hpaio-gcc14.patch Patch1000: hplip-fedora-gui.patch %endif +# MSVSphere +Patch2001: 0001-add-msvsphere-support.patch # uses automatic creation of configure BuildRequires: autoconf @@ -598,6 +600,7 @@ done %patch -P 1000 -p1 -b .fedora-gui %endif +%patch -P 2001 -p1 sed -i.duplex-constraints \ -e 's,\(UIConstraints.* \*Duplex\),//\1,' \ @@ -962,6 +965,9 @@ find doc/images -type f -exec chmod 644 {} \; %config(noreplace) %{_sysconfdir}/sane.d/dll.d/hpaio %changelog +* Tue Jan 28 2025 Sergey Cherevko - 3.23.12-7.inferit +- Add MSVSphere support + * Tue Nov 26 2024 MSVSphere Packaging Team - 3.23.12-7 - Rebuilt for MSVSphere 10