diff -r 70baf26f1088 -r a0926cc92e0c glib/glib.spec --- a/glib/glib.spec Sun Jun 30 18:44:10 2013 +0200 +++ b/glib/glib.spec Sun Jun 30 18:45:32 2013 +0200 @@ -22,7 +22,7 @@ ## # package version -%define V_major 2.32 +%define V_major 2.37 %define V_minor 3 # package information @@ -36,7 +36,7 @@ Group: Algorithm License: GPL Version: %{V_major}.%{V_minor} -Release: 20120800 +Release: 20130000 # package options %option with_threads yes @@ -112,7 +112,7 @@ -e 's;\(completiondir =\) \$(sysconfdir)/bash_completion.d;\1 $(pkgdatadir)/giobash;' \ gio/Makefile.in case "%{l_platform -t}" in - *-sunos* ) + *-sunos* ) %{l_shtool} subst \ -e 's;^\(LIBELF_LIBS =\);\1 -lelf;' \ gio/Makefile.in @@ -127,6 +127,9 @@ *i?86-* | *amd64-* | *ia64-* ) l_cflags="$l_cflags -march=native" ;; esac libs="" + case "%{l_platform -t}" in + *-sunos* ) libs="-lnsl -lsocket" ;; + esac %if "%{with_threads}" == "yes" case "%{l_platform -t}" in *-netbsd* ) libs="-lpthread" ;;