From d1f8e89ee01a3ddc194b462795b622fcc44422a4 Mon Sep 17 00:00:00 2001 From: mike Date: Fri, 27 Jul 2012 18:28:46 +0000 Subject: [PATCH] One more time... git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@10557 7a7537e8-13f0-0310-91df-b6672ffda945 --- packaging/cups.spec.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packaging/cups.spec.in b/packaging/cups.spec.in index 2b562393e9..c8a4a41a4d 100644 --- a/packaging/cups.spec.in +++ b/packaging/cups.spec.in @@ -27,7 +27,6 @@ %{!?_with_dnssd: %{!?_without_dnssd: %define _without_dnssd --without-dnssd}} %{?_with_dnssd: %define _dnssd --enable-dnssd} -%{?_with_dnssd: %define _dnssd_backend /usr/lib/cups/backend/dnssd} %{!?_with_dnssd: %define _dnssd --disable-dnssd} %{!?_with_static: %{!?_without_static: %define _without_static --without-static}} @@ -179,7 +178,10 @@ rm -rf $RPM_BUILD_ROOT /usr/bin/lp* %dir /usr/lib/cups %dir /usr/lib/cups/backend -%{_dnssd_backend} +%if %{?_with_dnssd:1}%{!?_with_dnssd:0} +# DNS-SD +/usr/lib/cups/backend/dnssd +%endif /usr/lib/cups/backend/http /usr/lib/cups/backend/https %attr(0700,root,root) /usr/lib/cups/backend/ipp -- 2.47.3