SHA256
1
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:
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

@@ -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)