From 276d3524a69766c67117fdca7ccf940dc7a59111 Mon Sep 17 00:00:00 2001 From: tigro Date: Sat, 19 Aug 2023 20:29:08 +0300 Subject: [PATCH] Fix build --- SPECS/system-config-printer.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SPECS/system-config-printer.spec b/SPECS/system-config-printer.spec index 2edddf7..29bb578 100644 --- a/SPECS/system-config-printer.spec +++ b/SPECS/system-config-printer.spec @@ -134,7 +134,7 @@ printers. sed -i 's/setup.py install --prefix=$(DESTDIR)$(prefix)/setup.py install --root $(DESTDIR) --prefix=$(prefix)/' Makefile* %build -%configure --with-udev-rules +%configure --with-udev-rules --with-cups-serverbin-dir=%{_prefix}/lib/cups %make_build %install @@ -239,7 +239,7 @@ rm -rf %{buildroot}%{_bindir}/%{name}-applet \ %dir %{_sysconfdir}/cupshelpers %config(noreplace) %{_sysconfdir}/cupshelpers/preferreddrivers.xml %{python3_sitelib}/cupshelpers -%{python3_sitelib}/*.egg-info/ +%{python3_sitelib}/*.egg-info %if 0%{?rhel} <= 9 || 0%{?fedora} %files applet