SPECS: kdemodule-i18n.spec - fix path variable

glen glen at pld-linux.org
Wed Aug 9 01:58:10 CEST 2006


Author: glen                         Date: Tue Aug  8 23:58:10 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fix path variable

---- Files affected:
SPECS:
   kdemodule-i18n.spec (1.90 -> 1.91) 

---- Diffs:

================================================================
Index: SPECS/kdemodule-i18n.spec
diff -u SPECS/kdemodule-i18n.spec:1.90 SPECS/kdemodule-i18n.spec:1.91
--- SPECS/kdemodule-i18n.spec:1.90	Wed Aug  9 00:18:50 2006
+++ SPECS/kdemodule-i18n.spec	Wed Aug  9 01:58:05 2006
@@ -3180,7 +3180,7 @@
 	touch installed.stamp
 fi
 
-rm -f *.lang *.cache
+rm -f *.lang *.cache __find.*
 
 %find_lang quanta	--with-kde
 %find_lang kommander	--with-kde
@@ -3216,19 +3216,19 @@
 %find_lang klatin		--with-kde
 for a in $RPM_BUILD_ROOT%{_datadir}/apps/klatin/data/vocabs/*; do
 	lang=${a##*/}
-	path=${a#$RPM_BUILD_ROOT/}
+	path=${a#$RPM_BUILD_ROOT}
 	echo "%lang($lang) $path" >> klatin.lang
 done
 %find_lang kturtle		--with-kde
 for a in $RPM_BUILD_ROOT%{_datadir}/apps/kturtle/data/*.xml; do
 	t=${a##*logokeywords.}
 	lang=${t%.xml}
-	path=${a#$RPM_BUILD_ROOT/}
+	path=${a#$RPM_BUILD_ROOT}
 	echo "%lang($lang) $path" >> kturtle.lang
 done
 for a in $RPM_BUILD_ROOT%{_datadir}/apps/kturtle/examples/*; do
 	lang=${a##*/}
-	path=${a#$RPM_BUILD_ROOT/}
+	path=${a#$RPM_BUILD_ROOT}
 	echo "%lang($lang) $path" >> kturtle.lang
 done
 %find_lang kwordquiz	--with-kde
@@ -3248,7 +3248,7 @@
 %find_lang kanagram	--with-kde
 for a in $RPM_BUILD_ROOT%{_datadir}/apps/kanagram/data/*; do
 	lang=${a##*/}
-	path=${a#$RPM_BUILD_ROOT/}
+	path=${a#$RPM_BUILD_ROOT}
 	echo "%lang($lang) $path" >> kanagram.lang
 done
 
@@ -4107,7 +4107,7 @@
 for a in $RPM_BUILD_ROOT%{_datadir}/apps/khangman/*.txt; do
 	t=${a##*/}
 	lang=${t%.txt}
-	path=${a#$RPM_BUILD_ROOT/}
+	path=${a#$RPM_BUILD_ROOT}
 	echo "%lang($lang) $path" >> khangman.lang
 done
 
@@ -4557,6 +4557,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.91  2006/08/08 23:58:05  glen
+- fix path variable
+
 Revision 1.90  2006/08/08 22:18:50  glen
 - remove debug
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/kdemodule-i18n.spec?r1=1.90&r2=1.91&f=u



More information about the pld-cvs-commit mailing list