]> git.pld-linux.org Git - packages/glibc.git/blobdiff - glibc.spec
- updated some tool versions; builds now
[packages/glibc.git] / glibc.spec
index dad858df58f6fbe56acde0bb6c9ec132115fea73..f559d840939c50ae22e20dabcece8a64a9c127e6 100644 (file)
@@ -31,7 +31,7 @@
 %undefine      with_cet
 %endif
 
-%define                core_version    2.30
+%define                core_version    2.31
 %define                llh_version     7:2.6.32.1-1
 
 Summary:       GNU libc
@@ -45,12 +45,12 @@ Summary(tr.UTF-8):  GNU libc
 Summary(uk.UTF-8):     GNU libc версії
 Name:          glibc
 Version:       %{core_version}
-Release:       3
+Release:       1
 Epoch:         6
 License:       LGPL v2.1+
 Group:         Libraries
 Source0:       http://ftp.gnu.org/gnu/glibc/%{name}-%{version}.tar.xz
-# Source0-md5: 2b1dbdf27b28620752956c061d62f60c
+# Source0-md5: 78a720f17412f3c3282be5a6f3363ec6
 Source2:       nscd.init
 Source3:       nscd.sysconfig
 Source4:       nscd.logrotate
@@ -71,8 +71,6 @@ Patch4:               %{name}-no-bash-nls.patch
 
 Patch6:                %{name}-paths.patch
 
-Patch8:                %{name}-missing-nls.patch
-Patch9:                %{name}-nss_include_dirs.patch
 Patch10:       %{name}-info.patch
 Patch11:       %{name}-autoconf.patch
 
@@ -99,7 +97,7 @@ BuildRequires:        automake
 BuildRequires: binutils >= 2:2.29
 BuildRequires: bison >= 2.7
 %{!?with_cross:BuildRequires:  dietlibc-static}
-BuildRequires: gawk
+BuildRequires: gawk >= 3.1.2
 %if %{with cet}
 BuildRequires: gcc >= 6:8.0
 %else
@@ -109,6 +107,7 @@ BuildRequires:      gcc >= 6:6.2
 BuildRequires: gettext-tools >= 0.10.36
 %{?with_selinux:BuildRequires: libselinux-devel >= 1.18}
 BuildRequires: linux-libc-headers >= %{llh_version}
+BuildRequires: make >= 1:4.0
 %{?with_nss_crypt:BuildRequires:       nss-devel >= 1:3.15.1-2}
 BuildRequires: perl-base
 BuildRequires: python3 >= 1:3.4
@@ -116,7 +115,7 @@ BuildRequires:      python3-modules >= 1:3.4
 BuildRequires: rpm-build >= 4.3-0.20030610.28
 BuildRequires: rpmbuild(macros) >= 1.567
 BuildRequires: sed >= 4.0.5
-BuildRequires: texinfo
+BuildRequires: texinfo >= 4.7
 Requires:      %{name}-ld = %{epoch}:%{version}-%{release}
 Requires:      filesystem
 Requires:      uname(release) >= %{min_kernel}
@@ -945,7 +944,7 @@ echo "Minimal supported kernel is 3.2.0" >&2
 exit 1
 %endif
 
-%patch0 -p1
+#patch0 -p1
 
 %patch2 -p1
 %patch3 -p0
@@ -953,13 +952,10 @@ exit 1
 
 %patch6 -p1
 
-%patch8 -p1
-%patch9 -p1
-
 %patch10 -p1
 %patch11 -p1
 
-%patch14 -p0
+%patch14 -p1
 %patch15 -p1
 %patch16 -p1
 %patch17 -p1
@@ -1021,6 +1017,15 @@ AWK="gawk" \
        --with-selinux%{!?with_selinux:=no} \
        --with-tls
 
+# hack: libgd (used by memusagestat) requires librt, which is built after malloc/ subdir.
+# First build all without libgd-dependent components (LIBGD=no)...
+%{__make} \
+       AWK="gawk" \
+       complocaledir=%{_prefix}/lib/locale \
+       sLIBdir=%{_libdir} \
+       LIBGD=no
+
+# ...then, when librt is ready, rerun make to build memusagestat
 %{__make} \
        AWK="gawk" \
        complocaledir=%{_prefix}/lib/locale \
@@ -1878,9 +1883,6 @@ fi
 %{_libdir}/libc.so
 %{_libdir}/libpthread.so
 # static-only libs
-%ifarch %{x8664} x32
-%{_libdir}/libmvec_nonshared.a
-%endif
 %{_libdir}/libc_nonshared.a
 %{_libdir}/libg.a
 %ifarch alpha ppc sparc
This page took 0.053771 seconds and 4 git commands to generate.