[packages/test/newkernel] - separate kernel and userspace builds to avoid @kernel_ver in userspace package release

baggins baggins at pld-linux.org
Fri Oct 25 08:41:02 CEST 2013


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

    - separate kernel and userspace builds to avoid @kernel_ver
      in userspace package release

 test.spec | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/test.spec b/test.spec
index da7869a..b4cf182 100644
--- a/test.spec
+++ b/test.spec
@@ -10,8 +10,9 @@
 %undefine with_dist_kernel
 %endif
 
-%if %{with kernel}
-%undefine	with_userspace
+%if 0%{_pld_builder} && %{with kernel} && %{with userspace}
+%{error:kernel and userspace cannot be built at the same time on PLD builders}
+exit 1
 %endif
 
 %if "%{_alt_kernel}" != "%{nil}"
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list