]> git.pld-linux.org Git - packages/glibc.git/commitdiff
move iconvconfig invocation to %posttrans
authorJan Palus <atler@pld-linux.org>
Wed, 18 Aug 2021 19:06:20 +0000 (21:06 +0200)
committerJan Palus <atler@pld-linux.org>
Wed, 18 Aug 2021 19:06:20 +0000 (21:06 +0200)
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

index 200fe454ea1eccf7e9913a09360394bfc6c563ed..5c986f5397e150b251c8f3ac0004f6745adc2ef4 100644 (file)
@@ -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
This page took 0.189296 seconds and 4 git commands to generate.