forked from pool/glibc
osc copypac from project:Base:System package:glibc revision:558
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=562
This commit is contained in:
29
glibc.spec
29
glibc.spec
@@ -196,7 +196,6 @@ Provides: ld-linux.so.3(GLIBC_2.4)
|
||||
%endif
|
||||
Requires(pre): filesystem
|
||||
Recommends: glibc-extra
|
||||
Recommends: glibc-gconv-modules
|
||||
Provides: rtld(GNU_HASH)
|
||||
%endif
|
||||
%if %{build_utils}
|
||||
@@ -236,8 +235,6 @@ Patch14: glibc-bindresvport-blacklist.diff
|
||||
Patch15: glibc-2.3.90-langpackdir.diff
|
||||
# PATCH-FEATURE-SLE Use nscd user for nscd
|
||||
Patch19: nscd-server-user.patch
|
||||
# PATCH-FEATURE-SLE read nsswich.conf from /usr
|
||||
Patch20: glibc-nsswitch-usr.diff
|
||||
|
||||
### Locale related patches
|
||||
# PATCH-FIX-OPENSUSE Add additional locales
|
||||
@@ -354,16 +351,6 @@ Requires: glibc = %{version}
|
||||
Locale data for the internationalisation features of the GNU C library.
|
||||
This package contains only the U.S. English locale.
|
||||
|
||||
%package gconv-modules
|
||||
Summary: Gconv data files
|
||||
License: GPL-2.0-or-later AND MIT AND LGPL-2.1-or-later
|
||||
Group: System/Libraries
|
||||
Requires: glibc = %{version}
|
||||
Provides: glibc-locale-base:%{_libdir}/gconv/gconv-modules
|
||||
|
||||
%description gconv-modules
|
||||
Gconv plugins for various code pages
|
||||
|
||||
%package locale
|
||||
Summary: Locale Data for Localized Programs
|
||||
License: GPL-2.0-or-later AND MIT AND LGPL-2.1-or-later
|
||||
@@ -473,7 +460,6 @@ makedb: A program to create a database for nss
|
||||
%patch14 -p1
|
||||
%patch15 -p1
|
||||
%patch19 -p1
|
||||
%patch20 -p1
|
||||
|
||||
%patch100 -p1
|
||||
%patch102 -p1
|
||||
@@ -847,8 +833,8 @@ rm -rf %{buildroot}%{_datadir}/locale/*/
|
||||
# Miscelanna:
|
||||
|
||||
install -m 644 %{SOURCE7} %{buildroot}/etc
|
||||
install -D -m 644 %{SOURCE5} %{buildroot}/usr/etc/nsswitch.conf
|
||||
install -m 644 /dev/null %{buildroot}/etc/nsswitch.conf
|
||||
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/
|
||||
@@ -1059,7 +1045,7 @@ end
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%post gconv-modules
|
||||
%post locale-base
|
||||
/usr/sbin/iconvconfig
|
||||
|
||||
%post info
|
||||
@@ -1098,10 +1084,8 @@ exit 0
|
||||
%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
|
||||
%ghost %config(noreplace) /etc/nsswitch.conf
|
||||
/usr/etc/nsswitch.conf
|
||||
%ghost %config(noreplace) /etc/gai.conf
|
||||
%doc posix/gai.conf
|
||||
%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
|
||||
%doc %{_mandir}/man1/gencat.1.gz
|
||||
%doc %{_mandir}/man1/getconf.1.gz
|
||||
@@ -1244,9 +1228,6 @@ exit 0
|
||||
%{_prefix}/lib/locale/C.utf8
|
||||
%{_prefix}/lib/locale/en_US.utf8
|
||||
%endif
|
||||
|
||||
%files gconv-modules
|
||||
%defattr(-,root,root)
|
||||
%dir %{_libdir}/gconv
|
||||
%{_libdir}/gconv/*.so
|
||||
%{_libdir}/gconv/gconv-modules
|
||||
|
Reference in New Issue
Block a user