mirror of
https://abf.rosa.ru/djam/glibc33.git
synced 2025-02-24 02:02:56 +00:00
try to provide devel(libm(64bit)) properly
This commit is contained in:
parent
4f09de7687
commit
1743286194
1 changed files with 12 additions and 1 deletions
13
glibc.spec
13
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
|
||||
|
|
Loading…
Add table
Reference in a new issue