[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cups-commit
Subject:    [cups.commit] [CUPS] r10556 - trunk/packaging
From:       cups-dev () easysw ! com
Date:       2012-07-27 18:03:52
Message-ID: 11328-cups.commit () news ! easysw ! com
[Download RAW message or body]

Author: mike
Date: 2012-07-27 11:03:40 -0700 (Fri, 27 Jul 2012)
New Revision: 10556
Log:
Try another way of conditionalizing dnssd backend...


Modified:
   trunk/packaging/cups.spec.in

Modified: trunk/packaging/cups.spec.in
===================================================================
--- trunk/packaging/cups.spec.in	2012-07-27 18:01:06 UTC (rev 10555)
+++ trunk/packaging/cups.spec.in	2012-07-27 18:03:40 UTC (rev 10556)
@@ -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 @@
 /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

_______________________________________________
cups-commit mailing list
cups-commit@easysw.com
http://lists.easysw.com/mailman/listinfo/cups-commit
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic