[packages/glibc] move iconvconfig invocation to %posttrans

atler atler at pld-linux.org
Wed Aug 18 21:11:38 CEST 2021


commit 71e6a2c95c6866b1603e66af078d163217478b0e
Author: Jan Palus <atler at pld-linux.org>
Date:   Wed Aug 18 21:06:20 2021 +0200

    move iconvconfig invocation to %posttrans
    
    fixes:
    
    Updating / installing...
       1:libxcrypt-static-4.4.25-1        ################################# [  5%]
       2:glibc-headers-6:2.34-3           ################################# [ 10%]
       3:ldconfig-6:2.34-3                ################################# [ 14%]
       4:iconv-6:2.34-3                   ################################# [ 19%]
    /usr/sbin/iconvconfig: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by /usr/sbin/iconvconfig)
    warning: %post(iconv-6:2.34-3.x86_64) scriptlet failed, exit status 1
       5:glibc-localedb-all-6:2.34-3      ################################# [ 24%]
       6:glibc-6:2.34-3                   ################################# [ 29%]

 glibc.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/glibc.spec b/glibc.spec
index 200fe45..5c986f5 100644
--- a/glibc.spec
+++ b/glibc.spec
@@ -1412,7 +1412,7 @@ if [ "$1" = "0" ]; then
 	%groupremove nscd
 fi
 
-%post -n iconv
+%posttrans -n iconv
 %{_sbindir}/iconvconfig --nostdlib -o %{_libdir}/gconv/gconv-modules.cache %{_libdir}/gconv
 
 %files -f %{name}.lang
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/glibc.git/commitdiff/71e6a2c95c6866b1603e66af078d163217478b0e



More information about the pld-cvs-commit mailing list