1.1 --- a/glib/glib.spec Sun Jun 30 18:44:10 2013 +0200 1.2 +++ b/glib/glib.spec Sun Jun 30 18:45:32 2013 +0200 1.3 @@ -22,7 +22,7 @@ 1.4 ## 1.5 1.6 # package version 1.7 -%define V_major 2.32 1.8 +%define V_major 2.37 1.9 %define V_minor 3 1.10 1.11 # package information 1.12 @@ -36,7 +36,7 @@ 1.13 Group: Algorithm 1.14 License: GPL 1.15 Version: %{V_major}.%{V_minor} 1.16 -Release: 20120800 1.17 +Release: 20130000 1.18 1.19 # package options 1.20 %option with_threads yes 1.21 @@ -112,7 +112,7 @@ 1.22 -e 's;\(completiondir =\) \$(sysconfdir)/bash_completion.d;\1 $(pkgdatadir)/giobash;' \ 1.23 gio/Makefile.in 1.24 case "%{l_platform -t}" in 1.25 - *-sunos* ) 1.26 + *-sunos* ) 1.27 %{l_shtool} subst \ 1.28 -e 's;^\(LIBELF_LIBS =\);\1 -lelf;' \ 1.29 gio/Makefile.in 1.30 @@ -127,6 +127,9 @@ 1.31 *i?86-* | *amd64-* | *ia64-* ) l_cflags="$l_cflags -march=native" ;; 1.32 esac 1.33 libs="" 1.34 + case "%{l_platform -t}" in 1.35 + *-sunos* ) libs="-lnsl -lsocket" ;; 1.36 + esac 1.37 %if "%{with_threads}" == "yes" 1.38 case "%{l_platform -t}" in 1.39 *-netbsd* ) libs="-lpthread" ;;