[packages/cups] fix build without avahi
atler
atler at pld-linux.org
Sat May 2 13:30:13 CEST 2020
commit 601d6000391b1d242d7486742a9c2ab06ad210dc
Author: Jan Palus <atler at pld-linux.org>
Date: Sat May 2 13:29:46 2020 +0200
fix build without avahi
cups.spec | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/cups.spec b/cups.spec
index 71a0654..6eada1e 100644
--- a/cups.spec
+++ b/cups.spec
@@ -631,7 +631,7 @@ fi
%defattr(644,root,root,755)
%attr(644,root,lp) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/client.conf
%attr(755,root,root) %{_bindir}/cancel
-%attr(755,root,root) %{_bindir}/ippfind
+%{?with_avahi:%attr(755,root,root) %{_bindir}/ippfind}
%attr(755,root,root) %{_bindir}/ipptool
%attr(755,root,root) %{_bindir}/lp
%attr(755,root,root) %{_bindir}/lpoptions
@@ -653,7 +653,7 @@ fi
%{_desktopdir}/cups.desktop
%{_iconsdir}/hicolor/*/apps/cups.png
%{_mandir}/man1/cancel.1*
-%{_mandir}/man1/ippfind.1*
+%{?with_avahi:%{_mandir}/man1/ippfind.1*}
%{_mandir}/man1/ipptool.1*
%{_mandir}/man1/lp.1*
%{_mandir}/man1/lpoptions.1*
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/cups.git/commitdiff/601d6000391b1d242d7486742a9c2ab06ad210dc
More information about the pld-cvs-commit
mailing list