Fix ModuleNotFoundError: No module named 'cupshelpers'
(cherry picked from commit 6f97cc107524c602074a6390d3d934ab8dcda846)
This commit is contained in:
parent
c69cbaa65f
commit
f4eac582f0
@ -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 <dev11101@linx-info.com> - 1.5.11-24
|
||||
- Type:bugfix
|
||||
- ID:NA
|
||||
- SUG:NA
|
||||
- DESC: Fix ModuleNotFoundError: No module named 'cupshelpers'
|
||||
|
||||
* Tue Feb 21 2023 yaoxin <yaoxin30@h-partners.com> - 1.5.11-23
|
||||
- Fix build failed
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user