diff --git a/system-config-printer.spec b/system-config-printer.spec index c53650bad08680091eabaf9c8ab95661a71222db..4fd4ad0798244163949af0c3a64efcae9f985462 100644 --- a/system-config-printer.spec +++ b/system-config-printer.spec @@ -3,7 +3,7 @@ Name: system-config-printer Summary: a graphical tool for CUPS administration Version: 1.5.11 -Release: 23 +Release: 24 License: GPLv2+ URL: https://github.com/zdohnal/system-config-printer Source0: https://github.com/zdohnal/system-config-printer/archive/%{version}.tar.gz @@ -35,6 +35,8 @@ uses IPP to configure a CUPS server. %prep %autosetup -p1 +# workaround https://github.com/pypa/setuptools/issues/3143 +sed -i 's/setup.py install --prefix=$(DESTDIR)$(prefix)/setup.py install --root $(DESTDIR) --prefix=$(prefix)/' Makefile* %build ./bootstrap @@ -73,8 +75,8 @@ touch %buildroot%{_localstatedir}/run/udev-configure-printer/usb-uris %{_bindir}/scp-dbus-service %dir %{_sysconfdir}/cupshelpers %config(noreplace) %{_sysconfdir}/cupshelpers/preferreddrivers.xml -%{python3_sitelib}/cupshelpers-1.0-py%{python3_version}.egg/EGG-INFO/* -%{python3_sitelib}/cupshelpers-1.0-py%{python3_version}.egg/cupshelpers/* +%{python3_sitelib}/cupshelpers-1.0-py%{python3_version}.egg-info/* +%{python3_sitelib}/cupshelpers/* %files help %doc po/ChangeLog NEWS ABOUT-NLS AUTHORS ChangeLog-OLD @@ -86,6 +88,12 @@ rm -rf /var/cache/foomatic/foomatic.pickle exit 0 %changelog +* Tue Nov 26 2024 yangzhenyu - 1.5.11-24 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC: Fix ModuleNotFoundError: No module named 'cupshelpers' + * Tue Feb 21 2023 yaoxin - 1.5.11-23 - Fix build failed