203 %{l_shtool} subst \ |
203 %{l_shtool} subst \ |
204 %if "%{with_dbgmem}" == "yes" |
204 %if "%{with_dbgmem}" == "yes" |
205 -e 's;\(-DF_MALLOC\);#\1;' \ |
205 -e 's;\(-DF_MALLOC\);#\1;' \ |
206 -e 's;#\(-DDBG_QM_MALLOC\);\1;' \ |
206 -e 's;#\(-DDBG_QM_MALLOC\);\1;' \ |
207 %endif |
207 %endif |
208 -e 's;\(#define PKG_MEM_POOL_SIZE\) \(1024\*1024\);\1 8*\2;' \ |
208 -e 's;\(#define PKG_MEM_POOL_SIZE\) \(1024\*1024\);\1 4*\2;' \ |
209 Makefile.defs \ |
209 Makefile.defs \ |
210 config.h |
210 config.h |
211 %{l_shtool} subst \ |
211 %{l_shtool} subst \ |
212 %if "%{with_fsl}" == "yes" |
212 %if "%{with_fsl}" == "yes" |
213 -e 's;@fslldflags@;-L$(prefix)/lib;g' \ |
213 -e 's;@fslldflags@;-L$(prefix)/lib;g' \ |
255 %{l_shtool} subst \ |
255 %{l_shtool} subst \ |
256 -e 's;\(DB_PATH="\)[^"][^"]*;\1%{l_prefix}/var/opensips/db;' \ |
256 -e 's;\(DB_PATH="\)[^"][^"]*;\1%{l_prefix}/var/opensips/db;' \ |
257 scripts/osipsconsolerc \ |
257 scripts/osipsconsolerc \ |
258 scripts/opensipsctlrc |
258 scripts/opensipsctlrc |
259 %{l_shtool} subst \ |
259 %{l_shtool} subst \ |
260 -e 's;=/var/run/\(opensips.pid\);=%{l_prefix}/var/opensips/\1;g' \ |
|
261 -e 's;/var/run/\(opensips.pid\);%{l_prefix}/var/opensips/\1;g' \ |
260 -e 's;/var/run/\(opensips.pid\);%{l_prefix}/var/opensips/\1;g' \ |
262 -e 's;\(my \$fifo_reply_path\) = "/tmp/";\1 = "%{l_prefix}/var/opensips/";' \ |
261 -e 's;\(my \$fifo_reply_path\) = "/tmp/";\1 = "%{l_prefix}/var/opensips/";' \ |
263 -e 's;\(my \$HISTORY_FILE\) = "/tmp/osipsconsole_history";\1 = "%{l_prefix}/var/opensips/osipsconsole_history";' \ |
262 -e 's;\(my \$HISTORY_FILE\) = "/tmp/osipsconsole_history";\1 = "%{l_prefix}/var/opensips/osipsconsole_history";' \ |
264 scripts/opensipsctl \ |
263 scripts/opensipsctl \ |
265 scripts/opensipsctlrc \ |
264 scripts/opensipsctlrc \ |