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