diff --git a/hplip-configure-python.patch b/hplip-configure-python.patch index b119212..0f6b713 100644 --- a/hplip-configure-python.patch +++ b/hplip-configure-python.patch @@ -20,12 +20,12 @@ index 9e330e3..e4a254e 100755 +AC_PATH_PROG(python3_config_path, python3-config, [AC_MSG_ERROR([python3-config not installed], 6)]) + +PYTHON_INCLUDES=`$python3_config_path --includes` -+if test "X$PYTHON_INCLUDES" == "X" ; then ++if test "X$PYTHON_INCLUDES" = "X" ; then + AC_MSG_ERROR([Cannot get Python includes via python3-config], 6) +fi + +PYTHON_LIBS=`$python3_config_path --libs` -+if test "X$PYTHON_LIBS" == "X" ; then ++if test "X$PYTHON_LIBS" = "X" ; then + AC_MSG_ERROR([Cannot get Python libs via python3-config], 6) +fi + diff --git a/hplip.spec b/hplip.spec index 078079d..a520d1f 100644 --- a/hplip.spec +++ b/hplip.spec @@ -7,7 +7,7 @@ Summary: HP Linux Imaging and Printing Project Name: hplip Version: 3.20.6 -Release: 12%{?dist} +Release: 13%{?dist} License: GPLv2+ and MIT and BSD and IJG and Public Domain and GPLv2+ with exceptions and ISC Url: https://developers.hp.com/hp-linux-imaging-and-printing @@ -768,6 +768,10 @@ rm -f %{buildroot}%{_sysconfdir}/xdg/autostart/hplip-systray.desktop %config(noreplace) %{_sysconfdir}/sane.d/dll.d/hpaio %changelog +* Wed Sep 30 2020 Zdenek Dohnal - 3.20.6-13 +- fix bashisms in hplip-configure-python.patch +- thanks for Daniel Pielmeier from Gentoo for review + * Fri Sep 11 2020 Zdenek Dohnal - 3.20.6-12 - move ifdef for removing hplip-gui a little in install phase