diff --git a/hplip-3.21.2-gpgdir-rules-gpg-server.patch b/hplip-3.21.2-gpgdir-rules-gpg-server.patch new file mode 100644 index 0000000..8e84357 --- /dev/null +++ b/hplip-3.21.2-gpgdir-rules-gpg-server.patch @@ -0,0 +1,11 @@ +diff -uprN a/base/password.py b/base/password.py +--- a/base/password.py 2021-07-16 11:19:07.363594142 +0300 ++++ b/base/password.py 2021-07-16 11:19:52.441320237 +0300 +@@ -56,6 +56,7 @@ AUTH_TYPES = {'mepis': 'su', + 'boss': 'su', + 'lfs': 'su', + 'manjarolinux': 'sudo', ++ 'almalinux': 'su', + } + + \ No newline at end of file diff --git a/hplip.spec b/hplip.spec index 32b85d4..32a11c4 100644 --- a/hplip.spec +++ b/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}.alma.1 # 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 @@ -245,6 +245,8 @@ Patch1000: hplip-fedora-gui.patch %endif +Patch2000: hplip-3.21.2-gpgdir-rules-gpg-server.patch + # uses automatic creation of configure BuildRequires: autoconf # uses automatic creation of Makefile @@ -598,6 +600,8 @@ done %patch -P 1000 -p1 -b .fedora-gui %endif +%patch -P 2000 -b .gpgdir-rules-gpg-server + sed -i.duplex-constraints \ -e 's,\(UIConstraints.* \*Duplex\),//\1,' \ @@ -962,6 +966,10 @@ find doc/images -type f -exec chmod 644 {} \; %config(noreplace) %{_sysconfdir}/sane.d/dll.d/hpaio %changelog +* Fri Aug 02 2024 Eduard Abdullin - 3.23.12-7.alma.1 +- Add AlmaLinux support +- Fix permission for custom created gpg dir + * Mon Jun 24 2024 Troy Dawson - 3.23.12-7 - Bump release for June 2024 mass rebuild