try to provide devel(libm(64bit)) properly

This commit is contained in:
Mikhail Novosyolov 2020-01-13 20:57:26 +03:00
parent 4f09de7687
commit 1743286194

View file

@ -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