fix build error

This commit is contained in:
baizg1107 2022-03-31 15:28:31 +08:00
parent 1f953b0e6c
commit 116cbe2a7b

View File

@ -3,7 +3,7 @@
Name: system-config-printer
Summary: a graphical tool for CUPS administration
Version: 1.5.11
Release: 15
Release: 16
License: GPLv2+
URL: https://github.com/zdohnal/system-config-printer
Source0: https://github.com/zdohnal/system-config-printer/archive/%{version}.tar.gz
@ -41,8 +41,8 @@ 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}
%py_byte_compile %{__python3} %{buildroot}%{python3_sitelib}/cupshelpers
%py_byte_compile %{__python3} %{buildroot}%{_datadir}/%{name}
%find_lang %{name}
@ -81,6 +81,9 @@ rm -rf /var/cache/foomatic/foomatic.pickle
exit 0
%changelog
* Thu Mar 31 2022 baizhonggui <baizhonggui@huawei.com> - 1.5.11-16
- Modify byte_compile syntax to fix build error
* Tue Sep 08 2020 zhangjiapeng <zhangjiapeng9@huawei.com> - 1.5.11-15
- Resolve installation failure