!69 [sync] PR-67: Fix ModuleNotFoundError: No module named 'cupshelpers'
Merge pull request !69 from openeuler-sync-bot/sync-pr67-master-to-openEuler-24.03-LTS
This commit is contained in:
commit
5eb0e22d8f
@ -3,7 +3,7 @@
|
|||||||
Name: system-config-printer
|
Name: system-config-printer
|
||||||
Summary: a graphical tool for CUPS administration
|
Summary: a graphical tool for CUPS administration
|
||||||
Version: 1.5.11
|
Version: 1.5.11
|
||||||
Release: 23
|
Release: 24
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: https://github.com/zdohnal/system-config-printer
|
URL: https://github.com/zdohnal/system-config-printer
|
||||||
Source0: https://github.com/zdohnal/system-config-printer/archive/%{version}.tar.gz
|
Source0: https://github.com/zdohnal/system-config-printer/archive/%{version}.tar.gz
|
||||||
@ -35,6 +35,8 @@ uses IPP to configure a CUPS server.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1
|
%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
|
%build
|
||||||
./bootstrap
|
./bootstrap
|
||||||
@ -73,8 +75,8 @@ touch %buildroot%{_localstatedir}/run/udev-configure-printer/usb-uris
|
|||||||
%{_bindir}/scp-dbus-service
|
%{_bindir}/scp-dbus-service
|
||||||
%dir %{_sysconfdir}/cupshelpers
|
%dir %{_sysconfdir}/cupshelpers
|
||||||
%config(noreplace) %{_sysconfdir}/cupshelpers/preferreddrivers.xml
|
%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-info/*
|
||||||
%{python3_sitelib}/cupshelpers-1.0-py%{python3_version}.egg/cupshelpers/*
|
%{python3_sitelib}/cupshelpers/*
|
||||||
|
|
||||||
%files help
|
%files help
|
||||||
%doc po/ChangeLog NEWS ABOUT-NLS AUTHORS ChangeLog-OLD
|
%doc po/ChangeLog NEWS ABOUT-NLS AUTHORS ChangeLog-OLD
|
||||||
@ -86,6 +88,12 @@ rm -rf /var/cache/foomatic/foomatic.pickle
|
|||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
%changelog
|
%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
|
* Tue Feb 21 2023 yaoxin <yaoxin30@h-partners.com> - 1.5.11-23
|
||||||
- Fix build failed
|
- Fix build failed
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user