diff -r 29651fde8b05 -r 9ea3ce683273 kamailio/kamailio.spec --- a/kamailio/kamailio.spec Fri Oct 07 16:33:56 2011 +0200 +++ b/kamailio/kamailio.spec Fri Oct 07 16:34:24 2011 +0200 @@ -32,7 +32,7 @@ Group: VoIP License: GPL Version: 3.1.5 -Release: 20111000 +Release: 20111001 # package options %option with_cons yes @@ -171,8 +171,10 @@ -e 's;\$(LOCALBASE)/[^/][^/]*/sctp.h;;g' \ -e 's;\$(LOCALBASE)/ssl/include;`%{l_prefix}/bin/pkg-config --cflags-only-I openssl`;g' \ -e 's;\$(LOCALBASE)/ssl/lib;`%{l_prefix}/bin/pkg-config --libs openssl`;g' \ - -e 's;\(data_dir\) *= *\(\$(MAIN_NAME)\);\1 = share/\2;g' \ -e 's;LOCALBASE *[\?:]*=.*;LOCALBASE = %{l_prefix};g' \ + -e 's;\(data_dir\) *=.*;\1 = share/$(MAIN_NAME);g' \ + -e 's;\(doc_dir\) *=.*;\1 = share/$(MAIN_NAME)/doc;g' \ + -e 's;\(man_dir\) *=.*;\1 = man/;g' \ Makefile.defs %{l_shtool} subst \ -e 's;CFLAGS *= *$;CFLAGS = %{l_cflags -O};g' \ @@ -189,7 +191,7 @@ -e 's;LIBS=.*;LIBS=`%{l_prefix}/bin/pkg-config --libs db`;g' \ utils/db_berkeley/Makefile %{l_shtool} subst \ - -e 's;\(mkdir.*\$(data_prefix)/\$(data_dir)/.*\)/kamailio;\1;g' \ + -e 's;\(\$(data_prefix)/\$(data_dir)/.*\)/kamailio;\1;g' \ utils/kamctl/Makefile %{l_shtool} subst \ -e 's;\(radiusclient\)-ng;\1;g' \