Fix build failed

This commit is contained in:
starlet-dx 2023-02-21 15:06:31 +08:00
parent 9ffe58ac42
commit 4b5045c01d

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