From: Dongkyun Son Date: Mon, 16 Jan 2023 01:33:59 +0000 (+0900) Subject: packaging: remove nis/ nss X-Git-Tag: accepted/tizen/base/toolchain/20240405.044606~37 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8bb29e1756b9b116e47826d0c491208c0cd252e9;p=platform%2Fupstream%2Fglibc.git packaging: remove nis/ nss Fix install error : + install -m 644 nis/nss /home/abuild/rpmbuild/BUILDROOT/glibc-2.36-0.i386/etc/default/ install: cannot stat `nis/nss': No such file or directory Change-Id: Ic0e0585748e01e5dc9f4809aec296bcf9df9e8de Signed-off-by: Dongkyun Son --- diff --git a/packaging/glibc.spec b/packaging/glibc.spec index 4389863..e0a726b 100644 --- a/packaging/glibc.spec +++ b/packaging/glibc.spec @@ -106,7 +106,6 @@ Release: 0 Url: http://www.gnu.org/software/libc/libc.html Source: glibc-%{version}.tar.xz -Source5: nsswitch.conf Source7: bindresvport.blacklist Source8: glibc_post_upgrade.c Source9: glibc.rpmlintrc @@ -605,11 +604,9 @@ mkdir -p %{buildroot}/%{_lib}/obsolete install -m 0700 build/glibc_post_upgrade %{buildroot}%{_sbindir} install -m 644 %{SOURCE7} %{buildroot}/etc -install -m 644 %{SOURCE5} %{buildroot}/etc install -m 644 posix/gai.conf %{buildroot}/etc mkdir -p %{buildroot}/etc/default -install -m 644 nis/nss %{buildroot}/etc/default/ mkdir -p %{buildroot}%{_includedir}/resolv install -m 0644 resolv/mapv4v6addr.h %{buildroot}%{_includedir}/resolv/ @@ -717,9 +714,7 @@ done %config /etc/ld.so.conf %attr(0644,root,root) %verify(not md5 size mtime) %ghost %config(missingok,noreplace) /etc/ld.so.cache %config(noreplace) /etc/rpc -%verify(not md5 size mtime) %config(noreplace) /etc/nsswitch.conf %verify(not md5 size mtime) %config(noreplace) /etc/gai.conf -%config(noreplace) /etc/default/nss /%{_lib}/ld-%{glibc_major_version}.so # Each architecture has a different name for the dynamic linker: diff --git a/packaging/nsswitch.conf b/packaging/nsswitch.conf deleted file mode 100644 index 6e78472..0000000 --- a/packaging/nsswitch.conf +++ /dev/null @@ -1,48 +0,0 @@ -# -# /etc/nsswitch.conf -# -# An example Name Service Switch config file. This file should be -# sorted with the most-used services at the beginning. -# -# The entry '[NOTFOUND=return]' means that the search for an -# entry should stop if the search in the previous entry turned -# up nothing. Note that if the search failed due to some other reason -# (like no NIS server responding) then the search continues with the -# next entry. -# -# Legal entries are: -# -# compat Use compatibility setup -# nisplus Use NIS+ (NIS version 3) -# nis Use NIS (NIS version 2), also called YP -# dns Use DNS (Domain Name Service) -# files Use the local files -# [NOTFOUND=return] Stop searching if not found so far -# -# For more information, please read the nsswitch.conf.5 manual page. -# - -# passwd: files nis -# shadow: files nis -# group: files nis - -passwd: compat optfiles -group: securitymanager [success=continue] compat -shadow: compat optfiles - -hosts: files dns -networks: files dns - -services: files -protocols: files -rpc: files -ethers: files -netmasks: files -netgroup: files nis -publickey: files - -bootparams: files -automount: files nis -aliases: files - -