packages (DEVEL): k3b/k3b.spec - try killing unsupported langs this way, th...

shadzik shadzik at pld-linux.org
Sun May 30 00:02:52 CEST 2010


Author: shadzik                      Date: Sat May 29 22:02:52 2010 GMT
Module: packages                      Tag: DEVEL
---- Log message:
- try killing unsupported langs this way, the way before rpm has generated a Requiers(dir) anyway

---- Files affected:
packages/k3b:
   k3b.spec (1.179.2.37 -> 1.179.2.38) 

---- Diffs:

================================================================
Index: packages/k3b/k3b.spec
diff -u packages/k3b/k3b.spec:1.179.2.37 packages/k3b/k3b.spec:1.179.2.38
--- packages/k3b/k3b.spec:1.179.2.37	Sat May 29 23:51:33 2010
+++ packages/k3b/k3b.spec	Sun May 30 00:02:45 2010
@@ -141,6 +141,8 @@
 
 %prep
 %setup -q
+# remove unsupported langs
+%{__sed} -i -e 's/.*sr at ijekavian.*//g' po/CMakeLists.txt
 
 %build
 install -d build
@@ -164,10 +166,6 @@
 	kde_htmldir=%{_kdedocdir} \
 	kde_libs_htmldir=%{_kdedocdir}
 
-# remove unsupported langs
-rm -rf $RPM_BUILD_ROOT/%{_datadir}/locale/sr at ijekavian
-rm -rf $RPM_BUILD_ROOT/%{_datadir}/locale/sr at ijekavianlatin
-
 %find_lang %{name} --all-name --with-kde
 
 %post	-p /sbin/ldconfig
@@ -258,6 +256,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.179.2.38  2010/05/29 22:02:45  shadzik
+- try killing unsupported langs this way, the way before rpm has generated a Requiers(dir) anyway
+
 Revision 1.179.2.37  2010/05/29 21:51:33  shadzik
 - remove unsupported langs
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/k3b/k3b.spec?r1=1.179.2.37&r2=1.179.2.38&f=u



More information about the pld-cvs-commit mailing list