hplip 3.20.11-2 (aarch64;aarch64;znver1;x86_64) 2021-13545
0

Status rejected
Submitter benbullard79 [@T] cox.net
Platform rolling
Repository main
URL https://abf.openmandriva.org/build_lists/980885
Packages
hplip-3.20.11-2.aarch64.binary
hplip-3.20.11-2.aarch64.source
hplip-debuginfo-3.20.11-2.aarch64.debuginfo
hplip-debugsource-3.20.11-2.aarch64.binary
hplip-doc-3.20.11-2.aarch64.binary
hplip-gui-3.20.11-2.aarch64.binary
hplip-hpijs-3.20.11-2.aarch64.binary
hplip-hpijs-debuginfo-3.20.11-2.aarch64.debuginfo
hplip-hpijs-ppds-3.20.11-2.aarch64.binary
hplip-model-data-3.20.11-2.aarch64.binary
lib64hpdiscovery0-3.20.11-2.aarch64.binary
lib64hpdiscovery0-debuginfo-3.20.11-2.aarch64.debuginfo
lib64hpip0-3.20.11-2.aarch64.binary
lib64hpip0-debuginfo-3.20.11-2.aarch64.debuginfo
lib64hpip-devel-3.20.11-2.aarch64.binary
lib64hpipp0-3.20.11-2.aarch64.binary
lib64hpipp0-debuginfo-3.20.11-2.aarch64.debuginfo
lib64hpmud0-3.20.11-2.aarch64.binary
lib64hpmud0-debuginfo-3.20.11-2.aarch64.debuginfo
lib64sane-hpaio1-3.20.11-2.aarch64.binary
lib64sane-hpaio1-debuginfo-3.20.11-2.aarch64.debuginfo
hplip-3.20.11-2.aarch64.source
hplip-3.20.11-2.aarch64.binary
hplip-debuginfo-3.20.11-2.aarch64.debuginfo
hplip-debugsource-3.20.11-2.aarch64.binary
hplip-doc-3.20.11-2.aarch64.binary
hplip-gui-3.20.11-2.aarch64.binary
hplip-hpijs-3.20.11-2.aarch64.binary
hplip-hpijs-debuginfo-3.20.11-2.aarch64.debuginfo
hplip-hpijs-ppds-3.20.11-2.aarch64.binary
hplip-model-data-3.20.11-2.aarch64.binary
lib64hpdiscovery0-3.20.11-2.aarch64.binary
lib64hpdiscovery0-debuginfo-3.20.11-2.aarch64.debuginfo
lib64hpip0-3.20.11-2.aarch64.binary
lib64hpip0-debuginfo-3.20.11-2.aarch64.debuginfo
lib64hpip-devel-3.20.11-2.aarch64.binary
lib64hpipp0-3.20.11-2.aarch64.binary
lib64hpipp0-debuginfo-3.20.11-2.aarch64.debuginfo
lib64hpmud0-3.20.11-2.aarch64.binary
lib64hpmud0-debuginfo-3.20.11-2.aarch64.debuginfo
lib64sane-hpaio1-3.20.11-2.aarch64.binary
lib64sane-hpaio1-debuginfo-3.20.11-2.aarch64.debuginfo
hplip-3.20.11-2.znver1.source
hplip-3.20.11-2.znver1.binary
hplip-debuginfo-3.20.11-2.znver1.debuginfo
hplip-debugsource-3.20.11-2.znver1.binary
hplip-doc-3.20.11-2.znver1.binary
hplip-gui-3.20.11-2.znver1.binary
hplip-hpijs-3.20.11-2.znver1.binary
hplip-hpijs-debuginfo-3.20.11-2.znver1.debuginfo
hplip-hpijs-ppds-3.20.11-2.znver1.binary
hplip-model-data-3.20.11-2.znver1.binary
lib64hpdiscovery0-3.20.11-2.znver1.binary
lib64hpdiscovery0-debuginfo-3.20.11-2.znver1.debuginfo
lib64hpip0-3.20.11-2.znver1.binary
lib64hpip0-debuginfo-3.20.11-2.znver1.debuginfo
lib64hpip-devel-3.20.11-2.znver1.binary
lib64hpipp0-3.20.11-2.znver1.binary
lib64hpipp0-debuginfo-3.20.11-2.znver1.debuginfo
lib64hpmud0-3.20.11-2.znver1.binary
lib64hpmud0-debuginfo-3.20.11-2.znver1.debuginfo
lib64sane-hpaio1-3.20.11-2.znver1.binary
lib64sane-hpaio1-debuginfo-3.20.11-2.znver1.debuginfo
hplip-3.20.11-2.x86_64.source
hplip-3.20.11-2.x86_64.binary
hplip-debuginfo-3.20.11-2.x86_64.debuginfo
hplip-debugsource-3.20.11-2.x86_64.binary
hplip-doc-3.20.11-2.x86_64.binary
hplip-gui-3.20.11-2.x86_64.binary
hplip-hpijs-3.20.11-2.x86_64.binary
hplip-hpijs-debuginfo-3.20.11-2.x86_64.debuginfo
hplip-hpijs-ppds-3.20.11-2.x86_64.binary
hplip-model-data-3.20.11-2.x86_64.binary
lib64hpdiscovery0-3.20.11-2.x86_64.binary
lib64hpdiscovery0-debuginfo-3.20.11-2.x86_64.debuginfo
lib64hpip0-3.20.11-2.x86_64.binary
lib64hpip0-debuginfo-3.20.11-2.x86_64.debuginfo
lib64hpip-devel-3.20.11-2.x86_64.binary
lib64hpipp0-3.20.11-2.x86_64.binary
lib64hpipp0-debuginfo-3.20.11-2.x86_64.debuginfo
lib64hpmud0-3.20.11-2.x86_64.binary
lib64hpmud0-debuginfo-3.20.11-2.x86_64.debuginfo
lib64sane-hpaio1-3.20.11-2.x86_64.binary
lib64sane-hpaio1-debuginfo-3.20.11-2.x86_64.debuginfo
Build Date 2021-02-03 16:36:03 +0000 UTC
Last Updated 2021-02-05 19:58:21.143412051 +0000 UTC
$ git diff --patch-with-stat --summary 4f4b5f76943f368352da6bb623d0f22c81403087..8a1ed2e2e90d3fa08599b8592443fa3aad688f10

 hplip-3.20.11-authtype.patch | 11 +++++++++++
 hplip.spec                   | 11 +++++++----
 2 files changed, 18 insertions(+), 4 deletions(-)
 create mode 100644 hplip-3.20.11-authtype.patch

diff --git a/hplip-3.20.11-authtype.patch b/hplip-3.20.11-authtype.patch
new file mode 100644
index 0000000..93e3d28
--- /dev/null
+++ b/hplip-3.20.11-authtype.patch
@@ -0,0 +1,11 @@
+diff -up hplip-3.20.11/base/password.py.omv~ hplip-3.20.11/base/password.py
+--- hplip-3.20.11/base/password.py.omv~	2021-02-03 14:56:24.319391449 +0100
++++ hplip-3.20.11/base/password.py	2021-02-03 14:56:50.772689515 +0100
+@@ -57,6 +57,7 @@ AUTH_TYPES = {'mepis': 'su',
+               'boss': 'su',
+               'lfs': 'su',
+               'manjarolinux': 'sudo',
++              'openmandrivalx': 'sudo',
+               }
+ 
+ 
diff --git a/hplip.spec b/hplip.spec
index eb354e4..c6a753e 100644
--- a/hplip.spec
+++ b/hplip.spec
@@ -25,7 +25,7 @@
 Summary:	HP printer/all-in-one driver infrastructure
 Name:		hplip
 Version:	3.20.11
-Release:	1
+Release:	2
 License:	GPLv2+ and MIT
 Group:		System/Printing
 Url:		https://developers.hp.com/hp-linux-imaging-and-printing
@@ -93,6 +93,7 @@ Patch229:	process-events-for-systray.patch
 Patch302:	hplip-CVE-2013-4325.patch
 Patch303:	hplip-3.17.11-hp-systray-dont-start-in-KDE.patch
 Patch304:	hplip-3.18.12-clang7.patch
+Patch305:	hplip-3.20.11-authtype.patch
 # From Debian
 Patch400:	0025-Remove-all-ImageProcessor-functionality-which-is-clo.patch
 # (itchka) Fix clang build error
@@ -100,7 +101,7 @@ Patch500:	fix-void-function-returning-value-clang-error.patch
 BuildRequires:	desktop-file-utils
 BuildRequires:	imagemagick
 BuildRequires:	polkit
-BuildRequires:	python-sip >= 1:4.16.4-1
+BuildRequires:	python-sip >= 4.16.4-1
 BuildRequires:	net-snmp-devel
 BuildRequires:	cups-devel
 # For ppdc
@@ -249,6 +250,7 @@ Group:		System/Printing
 Requires:	python-qt5-gui
 Requires:	python-qt5-widgets
 Requires:	python-qt5-dbus
+Requires:	python3dist(distro)
 Requires:	%{name} = %{version}-%{release}
 
 %description gui
@@ -462,6 +464,7 @@ sed -i.duplex-constraints \
 %patch302 -p0
 %patch303 -p1
 %patch304 -p1
+%patch305 -p1 -b .omv~
 
 %patch400 -p1 -b .noClosedSource~
 
@@ -502,7 +505,7 @@ WITHOUT_SANE="--without-sane"
 	--enable-policykit \
 	--with-mimedir=%{_datadir}/cups/mime PYTHON=%{__python}
 
-%make
+%make_build
 
 %install
 mkdir -p %{buildroot}%{_bindir}
@@ -510,7 +513,7 @@ mkdir -p %{buildroot}%{_includedir}
 mkdir -p %{buildroot}%{_initrddir}
 mkdir -p %{buildroot}%{_sysconfdir}/hp
 
-%makeinstall_std PYTHON=%{__python}
+%make_install PYTHON=%{__python}
 
 # Install files which the "make install" missed to install
 install -m 644 ip/hpip.h %{buildroot}%{_includedir}
Not Available

benbullard79 [@T] cox.netNo Comment.1388d 06hrs