SHA256
3
0
forked from pool/glibc

Accepting request 732758 from home:Andreas_Schwab:Factory

- Package gconv-modules.cache as %ghost
- Regenerate it also in the %post of glibc-local-base-<targettype>

OBS-URL: https://build.opensuse.org/request/show/732758
OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=541
This commit is contained in:
Andreas Schwab 2019-09-23 15:01:10 +00:00 committed by Git OBS Bridge
parent bac103ae78
commit e188f590ce
3 changed files with 13 additions and 5 deletions

View File

@ -13,6 +13,7 @@ glibc-locale-base
+/usr/lib(64)?/gconv/gconv-modules
targettype x86 -/usr/lib(64)?/gconv/gconv-modules
obsoletes "glibc-locale-<targettype>"
post "/usr/sbin/iconvconfig-<extension>"
glibc-devel
requires "glibc-<targettype> = %version"
arch i586 block!

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Sep 23 14:00:09 UTC 2019 - Andreas Schwab <schwab@suse.de>
- Package gconv-modules.cache as %ghost
- Regenerate it also in the %post of glibc-local-base-<targettype>
-------------------------------------------------------------------
Mon Sep 23 13:01:24 UTC 2019 - Ludwig Nussel <lnussel@suse.de>

View File

@ -745,10 +745,6 @@ ln -s . %{buildroot}/%{_lib}/lp64d
# files - specifically valgrind and PurifyPlus.
export STRIP_KEEP_SYMTAB=*.so*
# Make sure we will create the gconv-modules.cache
mkdir -p %{buildroot}%{_libdir}/gconv
touch %{buildroot}%{_libdir}/gconv/gconv-modules.cache
# Install base glibc
make %{?_smp_mflags} install_root=%{buildroot} install -C cc-base
@ -838,6 +834,8 @@ mkdir -p %{buildroot}%{_includedir}/resolv
install -m 0644 resolv/mapv4v6addr.h %{buildroot}%{_includedir}/resolv/
install -m 0644 resolv/mapv4v6hostent.h %{buildroot}%{_includedir}/resolv/
touch %{buildroot}%{_libdir}/gconv/gconv-modules.cache
%if %{build_html}
mkdir -p %{buildroot}%{_datadir}/doc/glibc
cp -p cc-base/manual/libc/*.html %{buildroot}%{_datadir}/doc/glibc
@ -1226,7 +1224,10 @@ exit 0
%{_prefix}/lib/locale/C.utf8
%{_prefix}/lib/locale/en_US.utf8
%endif
%{_libdir}/gconv
%dir %{_libdir}/gconv
%{_libdir}/gconv/*.so
%{_libdir}/gconv/gconv-modules
%attr(0644,root,root) %verify(not md5 size mtime) %ghost %{_libdir}/gconv/gconv-modules.cache
%files locale -f libc.lang
%defattr(-,root,root)