forked from pool/glibc
Accepting request 1141234 from home:Andreas_Schwab:Factory
- Split off libnsl.so.1 into a separate package OBS-URL: https://build.opensuse.org/request/show/1141234 OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=690
This commit is contained in:
parent
7d11a51c51
commit
0141d2a2e1
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 23 16:15:56 UTC 2024 - Andreas Schwab <schwab@suse.de>
|
||||
|
||||
- Split off libnsl.so.1 into a separate package
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 2 11:30:46 UTC 2024 - Andreas Schwab <schwab@suse.de>
|
||||
|
||||
|
18
glibc.spec
18
glibc.spec
@ -540,6 +540,15 @@ AutoReqProv: off
|
||||
These libraries are needed to develop programs which use the standard C
|
||||
library in a cross compilation setting.
|
||||
|
||||
%package -n libnsl1
|
||||
Summary: Legacy Network Support Library (NIS)
|
||||
License: LGPL-2.1-or-later
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n libnsl1
|
||||
Network Support Library for legacy architectures. This library does not
|
||||
have support for IPv6.
|
||||
|
||||
%if 0%{suse_version} >= 1500
|
||||
%define make_output_sync -Oline
|
||||
%endif
|
||||
@ -1062,10 +1071,11 @@ rm -f %{buildroot}%{_bindir}/pldd
|
||||
rm -rf %{buildroot}%{_libdir}/audit
|
||||
|
||||
%ifarch i686
|
||||
# Remove files from glibc-{extra,info,i18ndata} and nscd
|
||||
# Remove files from glibc-{extra,info,i18ndata}, nscd, libnsl1
|
||||
rm -rf %{buildroot}%{_infodir} %{buildroot}%{_prefix}/share/i18n
|
||||
rm -f %{buildroot}%{_bindir}/makedb %{buildroot}/var/lib/misc/Makefile
|
||||
rm -f %{buildroot}%{_sbindir}/nscd
|
||||
rm -f %{buildroot}%{slibdir}/libnsl.so.1
|
||||
%endif
|
||||
|
||||
%ifnarch i686
|
||||
@ -1292,7 +1302,6 @@ exit 0
|
||||
%ifarch x86_64 aarch64
|
||||
%{slibdir}/libmvec.so.1
|
||||
%endif
|
||||
%{slibdir}/libnsl.so.1
|
||||
%{slibdir}/libnss_compat.so.2
|
||||
%{slibdir}/libnss_db.so.2
|
||||
%{slibdir}/libnss_dns.so.2
|
||||
@ -1447,6 +1456,11 @@ exit 0
|
||||
/var/lib/misc/Makefile
|
||||
|
||||
%files lang -f libc.lang
|
||||
|
||||
%ifarch %ix86 %alpha hppa m68k %mips32 %mips64 %sparc ppc ppc64 ppc64le x86_64 s390 s390x %arm aarch64 riscv64
|
||||
%files -n libnsl1
|
||||
%{slibdir}/libnsl.so.1
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%endif
|
||||
|
Loading…
Reference in New Issue
Block a user