From: Michael Tremer Date: Wed, 11 Jul 2012 07:59:16 +0000 (+0200) Subject: glibc: Make sure that all subpackages are the same version. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1262a2912640dfc79e54f3f90d92006bc12ea270;p=ipfire-3.x.git glibc: Make sure that all subpackages are the same version. It has been possible to install a newer version of glibc-devel and glibc-headers than the actual library. This resulted in various linking problems. --- diff --git a/glibc/glibc.nm b/glibc/glibc.nm index 100fc25af..dd948b4ad 100644 --- a/glibc/glibc.nm +++ b/glibc/glibc.nm @@ -5,7 +5,7 @@ name = glibc version = 2.16.0 -release = 1 +release = 2 maintainer = Michael Tremer groups = System/Base @@ -244,7 +244,7 @@ end packages package glibc - requires = glibc-common=%{thisver} + requires = glibc-common = %{thisver} if "%{DISTRO_ARCH}" == "armv7hl" provides += ld-linux.so.3 @@ -255,7 +255,10 @@ packages package glibc-common # XXX description and summary are missing - requires = tzdata + requires + glibc = %{thisver} + tzdata + end files /usr/bin @@ -281,7 +284,10 @@ packages end group = Development/Libraries - requires = glibc-headers=%{thisver} + requires + glibc = %{thisver} + glibc-headers = %{thisver} + end files %{includedir} @@ -303,7 +309,10 @@ packages use the standard C libraries. end - requires = kernel-headers + requires + glibc = %{thisver} + kernel-headers >= %{OPTIMIZED_KERNEL} + end files /usr/include