hplip/hplip-udev-rules-in-usr.patch
Dominique Leuenberger b4c6de1fe0 - Add python3-setuptools BuildRequires: replaces the fix to
manually inject PYTHON_INCLUDEDIR. Fix needed to build against
  Python 3.13.

Fixes build in Staging_A (python 3.13) - and seems to address the real reaason why PYTHON_INCLUDEDIR needed to be injected

OBS-URL: https://build.opensuse.org/package/show/Printing/hplip?expand=0&rev=262
2025-02-13 14:47:04 +00:00

14 lines
407 B
Diff

Index: hplip-3.20.9/Makefile.am
===================================================================
--- hplip-3.20.9.orig/Makefile.am
+++ hplip-3.20.9/Makefile.am
@@ -137,7 +137,7 @@ dist_rulessystem_DATA =data/rules/hplip-
# hpmud.rules
if !HPLIP_CLASS_DRIVER
-rulesdir = /etc/udev/rules.d
+rulesdir = /usr/lib/udev/rules.d
if UDEV_SYSFS_RULES
dist_rules_DATA = data/rules/56-hpmud_sysfs.rules
else