!34 修复system-config-printer在install阶段失败
From: @starlet-dx Reviewed-by: @wu-leilei Signed-off-by: @wu-leilei
This commit is contained in:
commit
c69cbaa65f
@ -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: 22
|
Release: 23
|
||||||
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
|
||||||
@ -47,7 +47,6 @@ uses IPP to configure a CUPS server.
|
|||||||
install -d %buildroot%{_localstatedir}/run/udev-configure-printer
|
install -d %buildroot%{_localstatedir}/run/udev-configure-printer
|
||||||
touch %buildroot%{_localstatedir}/run/udev-configure-printer/usb-uris
|
touch %buildroot%{_localstatedir}/run/udev-configure-printer/usb-uris
|
||||||
|
|
||||||
%py_byte_compile %{__python3} %{buildroot}%{python3_sitelib}/cupshelpers
|
|
||||||
%py_byte_compile %{__python3} %{buildroot}%{_datadir}/%{name}
|
%py_byte_compile %{__python3} %{buildroot}%{_datadir}/%{name}
|
||||||
|
|
||||||
%find_lang %{name}
|
%find_lang %{name}
|
||||||
@ -74,8 +73,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
|
%{python3_sitelib}/cupshelpers-1.0-py%{python3_version}.egg/EGG-INFO/*
|
||||||
%{python3_sitelib}/*.egg-info
|
%{python3_sitelib}/cupshelpers-1.0-py%{python3_version}.egg/cupshelpers/*
|
||||||
|
|
||||||
%files help
|
%files help
|
||||||
%doc po/ChangeLog NEWS ABOUT-NLS AUTHORS ChangeLog-OLD
|
%doc po/ChangeLog NEWS ABOUT-NLS AUTHORS ChangeLog-OLD
|
||||||
@ -87,6 +86,9 @@ rm -rf /var/cache/foomatic/foomatic.pickle
|
|||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
%changelog
|
%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
|
* Mon Jan 09 2023 xuxinyu <xuxinyu@xfusion.com> - 1.5.11-22
|
||||||
- Update de.po
|
- Update de.po
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user