test: test-ooo_lang_bcond.spec - add macro for filelists btw, for ...
glen
glen at pld-linux.org
Mon Jan 30 15:58:57 CET 2006
Author: glen Date: Mon Jan 30 14:58:57 2006 GMT
Module: test Tag: HEAD
---- Log message:
- add macro for filelists
btw, for testing:
2917 /usr/bin/rpmbuild -bp test-ooo_lang_bcond.spec
2918 /usr/bin/rpmbuild --define '_ooo_languages pl_PL' -bp test-ooo_lang_bcond.spec
---- Files affected:
test:
test-ooo_lang_bcond.spec (1.1 -> 1.2)
---- Diffs:
================================================================
Index: test/test-ooo_lang_bcond.spec
diff -u test/test-ooo_lang_bcond.spec:1.1 test/test-ooo_lang_bcond.spec:1.2
--- test/test-ooo_lang_bcond.spec:1.1 Mon Jan 30 15:38:18 2006
+++ test/test-ooo_lang_bcond.spec Mon Jan 30 15:58:52 2006
@@ -4,6 +4,8 @@
%define _ooo_all_languages en_US et_EE fi_PL
%{expand:%%define _ooo_languages %{!?_ooo_languages:%_ooo_all_languages}}
+%define with_ooo_lang() %(echo %_ooo_languages | grep -c '%1')
+
Summary: test
Name: test
Version: 0.1
@@ -20,7 +22,9 @@
%setup -qcT
echo "all_languages: [%{_ooo_all_languages}]"
echo "languages: [%{_ooo_languages}]"
-exit 1
+%if %{with_ooo_lang et_EE}
+echo "have:et_EE"
+%endif
%clean
@@ -39,6 +43,13 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.2 2006/01/30 14:58:52 glen
+- add macro for filelists
+btw, for testing:
+
+ 2917 /usr/bin/rpmbuild -bp test-ooo_lang_bcond.spec
+ 2918 /usr/bin/rpmbuild --define '_ooo_languages pl_PL' -bp test-ooo_lang_bcond.spec
+
Revision 1.1 2006/01/30 14:38:18 glen
- test for blekot
================================================================
---- CVS-web:
http://cvs.pld-linux.org/test/test-ooo_lang_bcond.spec?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list