diff --git a/glibc.spec b/glibc.spec index b646c13..524ec7a 100644 --- a/glibc.spec +++ b/glibc.spec @@ -46,6 +46,16 @@ %define _disable_lto 1 %endif +# devel-rpm-generators +%define __devel_provides \ + %_buildshell -c '\ + while read -r line; do \ + if echo "$line" | grep -E '(/lib/|/usr/lib/).*\.so' ; \ + then %__devel_provides 32 ; \ + else %__devel_provides ; \ + fi ; \ + done' + %define _disable_ld_no_undefined 1 # (tpg) optimize it a bit @@ -127,7 +137,7 @@ Source0: http://ftp.gnu.org/gnu/glibc/%{oname}-%{ver}.tar.xz #Source1: http://ftp.gnu.org/gnu/glibc/%{oname}-%{ver}.tar.xz.sig #endif %endif -Release: 13 +Release: 14 License: LGPLv2+ and LGPLv2+ with exceptions and GPLv2+ Group: System/Libraries Url: http://www.gnu.org/software/libc/ @@ -248,6 +258,7 @@ Patch1036: glibc-2.29-strict-aliasing.patch Patch1037: glibc-2.29-SIG_BLOCK.patch Patch1038: unsigned-magic.patch +BuildRequires: devel-rpm-generators BuildRequires: autoconf2.5 BuildRequires: python3 BuildRequires: %{cross_prefix}binutils >= 2.30-7