[Freeswitch-svn] [commit] r7532 - freeswitch/trunk

Freeswitch SVN cypromis at freeswitch.org
Tue Feb 5 17:46:42 EST 2008


Author: cypromis
Date: Tue Feb  5 17:46:41 2008
New Revision: 7532

Modified:
   freeswitch/trunk/freeswitch.spec

Log:
Some more abstractions for freeswtch.spec


Modified: freeswitch/trunk/freeswitch.spec
==============================================================================
--- freeswitch/trunk/freeswitch.spec	(original)
+++ freeswitch/trunk/freeswitch.spec	Tue Feb  5 17:46:41 2008
@@ -223,8 +223,8 @@
                 --with-libcurl \
 %endif
 %endif
-                --with-openssl
-
+                --with-openssl \
+		%{?configure_options}
 
 #Create the version header file here
 cat src/include/switch_version.h.in | sed "s/@SVN_VERSION@/%{version}/g" > src/include/switch_version.h
@@ -264,7 +264,9 @@
 
 # Add a freeswitch user with group daemon
 %pre
+%ifos linux
 /usr/sbin/useradd -r -g daemon -s /bin/false -c "The FreeSWITCH Open Source Voice Platform" -d %{prefix}/var freeswitch 2> /dev/null || :
+%endif
 
 %post
 %{?run_ldconfig:%run_ldconfig}



More information about the Freeswitch-svn mailing list