Accepting request 1281934 from home:Andreas_Schwab:Factory
- Filter GLIBC_PRIVATE symbols again - Drop ngpt provides - Refine libc_nonshared.a workaround OBS-URL: https://build.opensuse.org/request/show/1281934 OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=741
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 2 10:54:37 UTC 2025 - Andreas Schwab <schwab@suse.de>
|
||||
|
||||
- Filter GLIBC_PRIVATE symbols again
|
||||
- Drop ngpt provides
|
||||
- Refine libc_nonshared.a workaround
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 18 19:50:23 UTC 2025 - Giuliano Belinassi <giuliano.belinassi@suse.com>
|
||||
|
||||
|
12
glibc.spec
12
glibc.spec
@@ -138,7 +138,9 @@ ExclusiveArch: do_not_build
|
||||
%define name_suffix -%{flavor}-src
|
||||
%endif
|
||||
|
||||
%define __filter_GLIBC_PRIVATE 1
|
||||
# Nothing outside of glibc must use these symbols
|
||||
%define __requires_exclude GLIBC_PRIVATE
|
||||
%define __provides_exclude GLIBC_PRIVATE
|
||||
%ifarch i686
|
||||
# For i686 let's only build what's different from i586, so
|
||||
# no need to build documentation
|
||||
@@ -211,11 +213,6 @@ Source21: nscd.service
|
||||
Source22: nscd.sysusers
|
||||
|
||||
%if %{build_main}
|
||||
# ngpt was used in 8.1 and SLES8
|
||||
Obsoletes: ngpt < 2.2.2
|
||||
Obsoletes: ngpt-devel < 2.2.2
|
||||
Provides: ngpt = 2.2.2
|
||||
Provides: ngpt-devel = 2.2.2
|
||||
%if %{without nscd}
|
||||
Obsoletes: nscd <= %{version}
|
||||
%endif
|
||||
@@ -794,12 +791,13 @@ archsub=powerpc
|
||||
%endif
|
||||
xstatbuild ()
|
||||
{
|
||||
gcc -O2 -I ../sysdeps/unix/sysv/linux/$archsub -xc - -c -o $1stat$2.oS <<EOF
|
||||
gcc -O2 -fpic -I ../sysdeps/unix/sysv/linux/$archsub -xc - -c -o $1stat$2.oS <<EOF
|
||||
#include <bits/wordsize.h>
|
||||
#include <xstatver.h>
|
||||
int __$1xstat$2 (int, $3, void *);
|
||||
|
||||
int
|
||||
__attribute__ ((visibility ("hidden")))
|
||||
$1stat$2 ($3 file, void *buf)
|
||||
{
|
||||
return __$1xstat$2 (_STAT_VER, file, buf);
|
||||
|
Reference in New Issue
Block a user