From 116cbe2a7be58ab5480fb5b4274194d288b4aca5 Mon Sep 17 00:00:00 2001 From: baizg1107 Date: Thu, 31 Mar 2022 15:28:31 +0800 Subject: [PATCH] fix build error --- system-config-printer.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/system-config-printer.spec b/system-config-printer.spec index db63ee5..4d9e71d 100644 --- a/system-config-printer.spec +++ b/system-config-printer.spec @@ -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 - 1.5.11-16 +- Modify byte_compile syntax to fix build error + * Tue Sep 08 2020 zhangjiapeng - 1.5.11-15 - Resolve installation failure -- Gitee