SPECS: xkeyboard-config.spec - added pre script to fix upgrade fro...

qboosh qboosh at pld-linux.org
Fri Dec 8 20:49:58 CET 2006


Author: qboosh                       Date: Fri Dec  8 19:49:58 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added pre script to fix upgrade from xkbdata (symbols/pc became file from dir)

---- Files affected:
SPECS:
   xkeyboard-config.spec (1.7 -> 1.8) 

---- Diffs:

================================================================
Index: SPECS/xkeyboard-config.spec
diff -u SPECS/xkeyboard-config.spec:1.7 SPECS/xkeyboard-config.spec:1.8
--- SPECS/xkeyboard-config.spec:1.7	Wed Dec  6 20:01:05 2006
+++ SPECS/xkeyboard-config.spec	Fri Dec  8 20:49:53 2006
@@ -56,6 +56,12 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%pre
+# it used to be directory in xkbdata
+if [ -d %{_datadir}/X11/xkb/symbols/pc ]; then
+	rm -rf %{_datadir}/X11/xkb/symbols/pc
+fi
+
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS COPYING CREDITS ChangeLog NEWS README TODO docs/H* docs/R*
@@ -67,6 +73,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.8  2006/12/08 19:49:53  qboosh
+- added pre script to fix upgrade from xkbdata (symbols/pc became file from dir)
+
 Revision 1.7  2006/12/06 19:01:05  qboosh
 - License is MIT-style, include its text
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/xkeyboard-config.spec?r1=1.7&r2=1.8&f=u



More information about the pld-cvs-commit mailing list