From 957e465d671bf49405122aeb7e4da960d795c8ea Mon Sep 17 00:00:00 2001 From: mike Date: Fri, 27 Jul 2012 18:03:40 +0000 Subject: [PATCH] Try another way of conditionalizing dnssd backend... git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@10556 7a7537e8-13f0-0310-91df-b6672ffda945 --- packaging/cups.spec.in | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/packaging/cups.spec.in b/packaging/cups.spec.in index 89199dbbd1..2b562393e9 100644 --- a/packaging/cups.spec.in +++ b/packaging/cups.spec.in @@ -27,6 +27,7 @@ %{!?_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}} @@ -178,9 +179,7 @@ rm -rf $RPM_BUILD_ROOT /usr/bin/lp* %dir /usr/lib/cups %dir /usr/lib/cups/backend -%if %{?_with_dnssd:1}%{!?_with_dnssd:0} -/usr/lib/cups/backend/dnssd -%endif +%{_dnssd_backend} /usr/lib/cups/backend/http /usr/lib/cups/backend/https %attr(0700,root,root) /usr/lib/cups/backend/ipp -- 2.47.3