packages: python-kiwi/python-kiwi.spec - unify %%find_lang macro - BR: rpmb...

lisu lisu at pld-linux.org
Mon May 31 13:49:43 CEST 2010


Author: lisu                         Date: Mon May 31 11:49:43 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- unify %%find_lang macro
- BR: rpmbuild(macros) >= 1.268

---- Files affected:
packages/python-kiwi:
   python-kiwi.spec (1.16 -> 1.17) 

---- Diffs:

================================================================
Index: packages/python-kiwi/python-kiwi.spec
diff -u packages/python-kiwi/python-kiwi.spec:1.16 packages/python-kiwi/python-kiwi.spec:1.17
--- packages/python-kiwi/python-kiwi.spec:1.16	Mon May 31 13:42:46 2010
+++ packages/python-kiwi/python-kiwi.spec	Mon May 31 13:49:38 2010
@@ -19,6 +19,7 @@
 BuildRequires:	python-devel >= 1:2.5
 BuildRequires:	python-pygtk-devel >= 2:2.8
 BuildRequires:	rpm-pythonprov
+BuildRequires:	rpmbuild(macros) >= 1.268
 BuildRequires:	sed >= 4.0
 %pyrequires_eq	python-libs
 Requires:	python-pygtk-gtk >= 2:2.8
@@ -92,15 +93,15 @@
 # move gazpacho stuff to proper place
 mv $RPM_BUILD_ROOT%{py_scriptdir}/dist-packages/gazpacho $RPM_BUILD_ROOT%{py_sitescriptdir}
 
-%find_lang kiwi
-
 # Remove *.py files. We don't package them.
 find $RPM_BUILD_ROOT%{py_sitescriptdir}/%{module} -type f -name '*.py' -print0 | xargs -0 rm -f
 
+%find_lang %{name} --all-name
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files -f kiwi.lang
+%files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README
 %attr(755,root,root) %{_bindir}/*
@@ -124,6 +125,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.17  2010/05/31 11:49:38  lisu
+- unify %%find_lang macro
+- BR: rpmbuild(macros) >= 1.268
+
 Revision 1.16  2010/05/31 11:42:46  lisu
 - unified python install
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/python-kiwi/python-kiwi.spec?r1=1.16&r2=1.17&f=u



More information about the pld-cvs-commit mailing list