]> git.pld-linux.org Git - packages/glibc.git/commitdiff
- pretrans for droppin sr@Latn and replacing it with symlink auto/th/glibc-2_7-6
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Fri, 2 Nov 2007 16:53:36 +0000 (16:53 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    glibc.spec -> 1.734

glibc.spec

index da99fa0ae5d554c2a7087981a4a5584d1fda911d..f24b0d94a4f6a5998f02ce700e18aedfadbc60b5 100644 (file)
@@ -36,7 +36,7 @@ Summary(tr.UTF-8):    GNU libc
 Summary(uk.UTF-8):     GNU libc версії
 Name:          glibc
 Version:       2.7
-Release:       5
+Release:       6
 Epoch:         6
 License:       LGPL v2.1+
 Group:         Libraries
@@ -1103,6 +1103,12 @@ rm -rf $RPM_BUILD_ROOT
 -/bin/sed -i -e '1iinclude ld.so.conf.d/*.conf' /etc/ld.so.conf
 %endif
 
+%pretrans misc
+if [ ! -L %{_datadir}/locale/sr@Latn -a -d %{_datadir}/locale/sr@latin ]; then
+       mv %{_datadir}/locale/sr@Latn/* %{_datadir}/locale/sr@latin/ > /dev/null 2>&1
+       rmdir %{_datadir}/locale/sr@Latn 2>/dev/null || mv -v %{_datadir}/locale/sr@Latn{,.rpmsave}
+fi
+
 %post  memusage -p /sbin/ldconfig
 %postun        memusage -p /sbin/ldconfig
 
This page took 0.201055 seconds and 4 git commands to generate.