[packages/test/newkernel] - fix _pld_builder condition

baggins baggins at pld-linux.org
Fri Oct 25 08:58:06 CEST 2013


commit 207ab38bff392e7c1e5f08d5e85fd4e9571d7a0e
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Fri Oct 25 08:57:52 2013 +0200

    - fix _pld_builder condition

 test.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/test.spec b/test.spec
index b4cf182..3774807 100644
--- a/test.spec
+++ b/test.spec
@@ -10,7 +10,7 @@
 %undefine with_dist_kernel
 %endif
 
-%if 0%{_pld_builder} && %{with kernel} && %{with userspace}
+%if 0%{?_pld_builder:1} && %{with kernel} && %{with userspace}
 %{error:kernel and userspace cannot be built at the same time on PLD builders}
 exit 1
 %endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/test.git/commitdiff/207ab38bff392e7c1e5f08d5e85fd4e9571d7a0e



More information about the pld-cvs-commit mailing list