diff -r 0bc1d0d1fe3a -r 76ceb617f880 stun/stun.spec --- a/stun/stun.spec Fri Mar 30 18:55:41 2012 +0200 +++ b/stun/stun.spec Fri Apr 13 17:49:04 2012 +0200 @@ -21,10 +21,6 @@ ## SUCH DAMAGE. ## -# package version -%define V_dist 0.96_Aug13 -%define V_opkg 0.96 - # package information Name: stun Summary: STUN Client & Server @@ -35,11 +31,11 @@ Class: EVAL Group: VoIP License: Open Source -Version: %{V_opkg} -Release: 20090106 +Version: 0.97 +Release: 20120208 # list of sources -Source0: http://switch.dl.sourceforge.net/stun/stund_%{V_dist}.tgz +Source0: http://switch.dl.sourceforge.net/stun/stund-%{version}.tgz Source1: rc.stun Patch0: stun.patch @@ -65,7 +61,7 @@ %track prog stun = { - version = %{V_dist} + version = %{version} url = http://prdownloads.sourceforge.net/stun/ regex = stund_(.+?)\.tgz } @@ -77,7 +73,7 @@ *-sunos* ) %{l_shtool} subst \ -e 's;^\(LDFLAGS\)+=.*;\1=;' \ - -e 's;^#\(LDFLAGS+=\) -lnsl -lsocket;\1-lsocket -lnsl;' \ + -e 's;^#\(LDFLAGS+=\) -lnsl -lsocket;\1-lsocket -lnsl -ldl;' \ Makefile ;; * ) @@ -88,7 +84,7 @@ esac %build - %{l_make} %{l_mflags} \ + %{l_make} %{l_mflags -O} \ CXX="%{l_cxx}" \ CXXFLAGS="%{l_cxxflags -O}"