SPECS: glibc.spec - pretrans for droppin sr at Latn and replacing it ...

arekm arekm at pld-linux.org
Fri Nov 2 17:53:41 CET 2007


Author: arekm                        Date: Fri Nov  2 16:53:41 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- pretrans for droppin sr at Latn and replacing it with symlink

---- Files affected:
SPECS:
   glibc.spec (1.733 -> 1.734) 

---- Diffs:

================================================================
Index: SPECS/glibc.spec
diff -u SPECS/glibc.spec:1.733 SPECS/glibc.spec:1.734
--- SPECS/glibc.spec:1.733	Fri Nov  2 13:18:30 2007
+++ SPECS/glibc.spec	Fri Nov  2 17:53:36 2007
@@ -37,7 +37,7 @@
 Summary(uk.UTF-8):	GNU libc версії
 Name:		glibc
 Version:	2.7
-Release:	5
+Release:	6
 Epoch:		6
 License:	LGPL v2.1+
 Group:		Libraries
@@ -1104,6 +1104,12 @@
 -/bin/sed -i -e '1iinclude ld.so.conf.d/*.conf' /etc/ld.so.conf
 %endif
 
+%pretrans misc
+if [ ! -L %{_datadir}/locale/sr at Latn -a -d %{_datadir}/locale/sr at latin ]; then
+	mv %{_datadir}/locale/sr at Latn/* %{_datadir}/locale/sr at latin/ > /dev/null 2>&1
+	rmdir %{_datadir}/locale/sr at Latn 2>/dev/null || mv -v %{_datadir}/locale/sr at Latn{,.rpmsave}
+fi
+
 %post	memusage -p /sbin/ldconfig
 %postun	memusage -p /sbin/ldconfig
 
@@ -1492,6 +1498,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.734  2007/11/02 16:53:36  arekm
+- pretrans for droppin sr at Latn and replacing it with symlink
+
 Revision 1.733  2007/11/02 12:18:30  arekm
 - rel 5; add sr at Latn symlink to files
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/glibc.spec?r1=1.733&r2=1.734&f=u



More information about the pld-cvs-commit mailing list