Author: jajcus                       Date: Fri Aug 22 13:24:59 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- without carrierroute bcond added

---- Files affected:
SPECS:
   opensips.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SPECS/opensips.spec
diff -u SPECS/opensips.spec:1.2 SPECS/opensips.spec:1.3
--- SPECS/opensips.spec:1.2     Fri Aug 22 15:19:47 2008
+++ SPECS/opensips.spec Fri Aug 22 15:24:54 2008
@@ -5,6 +5,7 @@
 %bcond_without pgsql           # PostgreSQL support
 %bcond_without odbc            # ODBC support
 %bcond_without radius          # radius support
+%bcond_without carrierroute    # carrierroute support
 %bcond_with    osp             # ETSI OSP VoIP Peering support
 #
 Summary:       SIP proxy, redirect and registrar server
@@ -23,7 +24,7 @@
 BuildRequires: bison
 BuildRequires: expat-devel
 BuildRequires: flex
-BuildRequires: libconfuse-devel
+%{?with_carrierroute:BuildRequires:    libconfuse-devel}
 %{?with_pgsql:BuildRequires:   libpqxx-devel}
 BuildRequires: libxml2-devel
 %{?with_mysql:BuildRequires:   mysql-devel}
@@ -156,6 +157,9 @@
 
 %build
 exclude_modules="%{exclude_modules}"
+%if %{without carrierroute}
+exclude_modules="$exclude_modules carrierroute"
+%endif
 %if %{without osp}
 exclude_modules="$exclude_modules osp"
 %endif
@@ -248,7 +252,9 @@
 %attr(755,root,root) %{_libdir}/opensips/modules/auth_diameter.so
 %attr(755,root,root) %{_libdir}/opensips/modules/avpops.so
 %attr(755,root,root) %{_libdir}/opensips/modules/benchmark.so
+%if %{with carrierroute}
 %attr(755,root,root) %{_libdir}/opensips/modules/carrierroute.so
+%endif
 %attr(755,root,root) %{_libdir}/opensips/modules/cfgutils.so
 %attr(755,root,root) %{_libdir}/opensips/modules/cpl-c.so
 %attr(755,root,root) %{_libdir}/opensips/modules/db_berkeley.so
@@ -374,6 +380,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2008/08/22 13:24:54  jajcus
+- without carrierroute bcond added
+
 Revision 1.2  2008/08/22 13:19:47  jajcus
 - no Patch0
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/opensips.spec?r1=1.2&r2=1.3&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to