!34 修复system-config-printer在install阶段失败

From: @starlet-dx 
Reviewed-by: @wu-leilei 
Signed-off-by: @wu-leilei
This commit is contained in:
openeuler-ci-bot 2023-02-21 07:31:17 +00:00 committed by Gitee
commit c69cbaa65f
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -3,7 +3,7 @@
Name: system-config-printer
Summary: a graphical tool for CUPS administration
Version: 1.5.11
Release: 22
Release: 23
License: GPLv2+
URL: https://github.com/zdohnal/system-config-printer
Source0: https://github.com/zdohnal/system-config-printer/archive/%{version}.tar.gz
@ -47,7 +47,6 @@ uses IPP to configure a CUPS server.
install -d %buildroot%{_localstatedir}/run/udev-configure-printer
touch %buildroot%{_localstatedir}/run/udev-configure-printer/usb-uris
%py_byte_compile %{__python3} %{buildroot}%{python3_sitelib}/cupshelpers
%py_byte_compile %{__python3} %{buildroot}%{_datadir}/%{name}
%find_lang %{name}
@ -74,8 +73,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
%{python3_sitelib}/*.egg-info
%{python3_sitelib}/cupshelpers-1.0-py%{python3_version}.egg/EGG-INFO/*
%{python3_sitelib}/cupshelpers-1.0-py%{python3_version}.egg/cupshelpers/*
%files help
%doc po/ChangeLog NEWS ABOUT-NLS AUTHORS ChangeLog-OLD
@ -87,6 +86,9 @@ rm -rf /var/cache/foomatic/foomatic.pickle
exit 0
%changelog
* Tue Feb 21 2023 yaoxin <yaoxin30@h-partners.com> - 1.5.11-23
- Fix build failed
* Mon Jan 09 2023 xuxinyu <xuxinyu@xfusion.com> - 1.5.11-22
- Update de.po