Accepting request 1177068 from home:Andreas_Schwab:Factory
- Move essential (Latin-1 and UTF based) gconv modules to main glibc package, other modules to new package glibc-gconv-modules-extra OBS-URL: https://build.opensuse.org/request/show/1177068 OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=714
This commit is contained in:
parent
c69351a7c3
commit
ffd3fba0e7
@ -5,15 +5,20 @@ glibc
|
|||||||
targettype x86 obsoletes "baselibs-x86"
|
targettype x86 obsoletes "baselibs-x86"
|
||||||
targettype ia32 +/etc/ld.so.conf
|
targettype ia32 +/etc/ld.so.conf
|
||||||
targettype ia32 "/lib/ld-linux.so.2 -> <prefix>/lib/ld-linux.so.2"
|
targettype ia32 "/lib/ld-linux.so.2 -> <prefix>/lib/ld-linux.so.2"
|
||||||
|
+/usr/lib(64)?/gconv/gconv-modules
|
||||||
|
targettype x86 -/usr/lib(64)?/gconv/gconv-modules
|
||||||
prereq -glibc-x86
|
prereq -glibc-x86
|
||||||
+/usr/lib/getconf/[^g]
|
+/usr/lib/getconf/[^g]
|
||||||
+/usr/sbin/iconvconfig -> /usr/sbin/iconvconfig-<extension>
|
+/usr/sbin/iconvconfig -> /usr/sbin/iconvconfig-<extension>
|
||||||
glibc-locale-base
|
post "/usr/sbin/iconvconfig-<extension>"
|
||||||
|
recommends "glibc-gconv-modules-extra-<targettype> = %version"
|
||||||
|
glibc-gconv-modules-extra
|
||||||
arch i586 block!
|
arch i586 block!
|
||||||
+/usr/lib(64)?/gconv/gconv-modules
|
+/usr/lib(64)?/gconv/gconv-modules
|
||||||
targettype x86 -/usr/lib(64)?/gconv/gconv-modules
|
targettype x86 -/usr/lib(64)?/gconv/gconv-modules
|
||||||
obsoletes "glibc-locale-<targettype>"
|
|
||||||
post "/usr/sbin/iconvconfig-<extension>"
|
post "/usr/sbin/iconvconfig-<extension>"
|
||||||
|
postun "/usr/sbin/iconvconfig-<extension>"
|
||||||
|
obsoletes "glibc-locale-base-<targettype>"
|
||||||
glibc-devel
|
glibc-devel
|
||||||
requires "glibc-<targettype> = %version"
|
requires "glibc-<targettype> = %version"
|
||||||
arch i586 block!
|
arch i586 block!
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 21 09:44:46 UTC 2024 - Andreas Schwab <schwab@suse.de>
|
||||||
|
|
||||||
|
- Move essential (Latin-1 and UTF based) gconv modules to main glibc
|
||||||
|
package, other modules to new package glibc-gconv-modules-extra
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon May 13 09:45:36 UTC 2024 - Andreas Schwab <schwab@suse.de>
|
Mon May 13 09:45:36 UTC 2024 - Andreas Schwab <schwab@suse.de>
|
||||||
|
|
||||||
|
64
glibc.spec
64
glibc.spec
@ -204,6 +204,7 @@ Provides: ld-linux.so.3(GLIBC_2.4)
|
|||||||
%endif
|
%endif
|
||||||
Requires(pre): filesystem
|
Requires(pre): filesystem
|
||||||
Recommends: glibc-extra
|
Recommends: glibc-extra
|
||||||
|
Recommends: glibc-gconv-modules-extra
|
||||||
Provides: rtld(GNU_HASH)
|
Provides: rtld(GNU_HASH)
|
||||||
%endif
|
%endif
|
||||||
%if %{build_utils}
|
%if %{build_utils}
|
||||||
@ -408,7 +409,6 @@ created.
|
|||||||
Summary: en_US Locale Data for Localized Programs
|
Summary: en_US Locale Data for Localized Programs
|
||||||
License: GPL-2.0-or-later AND MIT AND LGPL-2.1-or-later
|
License: GPL-2.0-or-later AND MIT AND LGPL-2.1-or-later
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Requires(post): /bin/cat
|
|
||||||
Requires: glibc = %{version}
|
Requires: glibc = %{version}
|
||||||
|
|
||||||
%description locale-base
|
%description locale-base
|
||||||
@ -445,6 +445,17 @@ Obsoletes: unscd <= 0.48
|
|||||||
Nscd caches name service lookups and can dramatically improve
|
Nscd caches name service lookups and can dramatically improve
|
||||||
performance with NIS, NIS+, and LDAP.
|
performance with NIS, NIS+, and LDAP.
|
||||||
|
|
||||||
|
%package gconv-modules-extra
|
||||||
|
Summary: Non-essential gconv modules
|
||||||
|
License: LGPL-2.1-or-later
|
||||||
|
Group: System/Libraries
|
||||||
|
Requires: glibc = %{version}
|
||||||
|
Provides: glibc-locale-base:%{_libdir}/gconv/BIG5.so
|
||||||
|
|
||||||
|
%description gconv-modules-extra
|
||||||
|
Modules for use by the iconv facility, to support encodings other than
|
||||||
|
Latin-1 and UTF based.
|
||||||
|
|
||||||
%package profile
|
%package profile
|
||||||
Summary: Libc Profiling and Debugging Versions
|
Summary: Libc Profiling and Debugging Versions
|
||||||
License: GPL-2.0-or-later AND LGPL-2.1-or-later AND LGPL-2.1-or-later WITH GCC-exception-2.0
|
License: GPL-2.0-or-later AND LGPL-2.1-or-later AND LGPL-2.1-or-later WITH GCC-exception-2.0
|
||||||
@ -1162,14 +1173,14 @@ if posix.access("%{rootsbindir}/ldconfig", "x") then
|
|||||||
exec("%{rootsbindir}/ldconfig", "-X")
|
exec("%{rootsbindir}/ldconfig", "-X")
|
||||||
end
|
end
|
||||||
if posix.utime("%{_libdir}/gconv/gconv-modules.cache") then
|
if posix.utime("%{_libdir}/gconv/gconv-modules.cache") then
|
||||||
exec("/usr/sbin/iconvconfig", "-o", "%{_libdir}/gconv/gconv-modules.cache",
|
exec("%{_sbindir}/iconvconfig", "-o", "%{_libdir}/gconv/gconv-modules.cache",
|
||||||
"--nostdlib", "%{_libdir}/gconv")
|
"--nostdlib", "%{_libdir}/gconv")
|
||||||
end
|
end
|
||||||
|
|
||||||
%postun -p %{rootsbindir}/ldconfig
|
%postun -p %{rootsbindir}/ldconfig
|
||||||
|
|
||||||
%post locale-base
|
%post gconv-modules-extra -p %{_sbindir}/iconvconfig
|
||||||
/usr/sbin/iconvconfig
|
%postun gconv-modules-extra -p %{_sbindir}/iconvconfig
|
||||||
|
|
||||||
%post info
|
%post info
|
||||||
%install_info --info-dir=%{_infodir} %{_infodir}/libc.info.gz
|
%install_info --info-dir=%{_infodir} %{_infodir}/libc.info.gz
|
||||||
@ -1265,6 +1276,46 @@ exit 0
|
|||||||
%dir %attr(0755,root,root) %{_libexecdir}/getconf
|
%dir %attr(0755,root,root) %{_libexecdir}/getconf
|
||||||
%{_libexecdir}/getconf/*
|
%{_libexecdir}/getconf/*
|
||||||
%{_sbindir}/iconvconfig
|
%{_sbindir}/iconvconfig
|
||||||
|
%dir %{_libdir}/gconv
|
||||||
|
%{_libdir}/gconv/ANSI_X3.110.so
|
||||||
|
%{_libdir}/gconv/CP1252.so
|
||||||
|
%{_libdir}/gconv/ISO8859-1.so
|
||||||
|
%{_libdir}/gconv/ISO8859-15.so
|
||||||
|
%{_libdir}/gconv/UNICODE.so
|
||||||
|
%{_libdir}/gconv/UTF-16.so
|
||||||
|
%{_libdir}/gconv/UTF-32.so
|
||||||
|
%{_libdir}/gconv/UTF-7.so
|
||||||
|
%{_libdir}/gconv/gconv-modules
|
||||||
|
%dir %{_libdir}/gconv/gconv-modules.d
|
||||||
|
%ifarch s390x
|
||||||
|
%{_libdir}/gconv/gconv-modules.d/gconv-modules-s390.conf
|
||||||
|
%{_libdir}/gconv/ISO-8859-1_CP037_Z900.so
|
||||||
|
%{_libdir}/gconv/UTF8_UTF32_Z9.so
|
||||||
|
%{_libdir}/gconv/UTF16_UTF32_Z9.so
|
||||||
|
%{_libdir}/gconv/UTF8_UTF16_Z9.so
|
||||||
|
%endif
|
||||||
|
%attr(0644,root,root) %verify(not md5 size mtime) %ghost %{_libdir}/gconv/gconv-modules.cache
|
||||||
|
|
||||||
|
%files gconv-modules-extra
|
||||||
|
%dir %{_libdir}/gconv
|
||||||
|
%dir %{_libdir}/gconv/gconv-modules.d
|
||||||
|
%{_libdir}/gconv/gconv-modules.d/*.conf
|
||||||
|
%{_libdir}/gconv/*.so
|
||||||
|
%exclude %{_libdir}/gconv/ANSI_X3.110.so
|
||||||
|
%exclude %{_libdir}/gconv/CP1252.so
|
||||||
|
%exclude %{_libdir}/gconv/ISO8859-1.so
|
||||||
|
%exclude %{_libdir}/gconv/ISO8859-15.so
|
||||||
|
%exclude %{_libdir}/gconv/UNICODE.so
|
||||||
|
%exclude %{_libdir}/gconv/UTF-16.so
|
||||||
|
%exclude %{_libdir}/gconv/UTF-32.so
|
||||||
|
%exclude %{_libdir}/gconv/UTF-7.so
|
||||||
|
%ifarch s390x
|
||||||
|
%exclude %{_libdir}/gconv/gconv-modules.d/gconv-modules-s390.conf
|
||||||
|
%exclude %{_libdir}/gconv/ISO-8859-1_CP037_Z900.so
|
||||||
|
%exclude %{_libdir}/gconv/UTF8_UTF32_Z9.so
|
||||||
|
%exclude %{_libdir}/gconv/UTF16_UTF32_Z9.so
|
||||||
|
%exclude %{_libdir}/gconv/UTF8_UTF16_Z9.so
|
||||||
|
%endif
|
||||||
|
|
||||||
%files locale-base
|
%files locale-base
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -1274,11 +1325,6 @@ exit 0
|
|||||||
%{_prefix}/lib/locale/C.utf8
|
%{_prefix}/lib/locale/C.utf8
|
||||||
%{_prefix}/lib/locale/en_US.utf8
|
%{_prefix}/lib/locale/en_US.utf8
|
||||||
%endif
|
%endif
|
||||||
%dir %{_libdir}/gconv
|
|
||||||
%{_libdir}/gconv/*.so
|
|
||||||
%{_libdir}/gconv/gconv-modules
|
|
||||||
%{_libdir}/gconv/gconv-modules.d
|
|
||||||
%attr(0644,root,root) %verify(not md5 size mtime) %ghost %{_libdir}/gconv/gconv-modules.cache
|
|
||||||
|
|
||||||
%files locale
|
%files locale
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
Loading…
Reference in New Issue
Block a user