[projects/pld-builder.new] - define _pld_builder also for srpms

baggins baggins at pld-linux.org
Mon Oct 28 13:52:05 CET 2013


commit 42a60657db52d14d0e3b247e39602f10574864d3
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Mon Oct 28 13:51:48 2013 +0100

    - define _pld_builder also for srpms

 PLD_Builder/srpm_builder.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/PLD_Builder/srpm_builder.py b/PLD_Builder/srpm_builder.py
index 0c4f516..0815782 100644
--- a/PLD_Builder/srpm_builder.py
+++ b/PLD_Builder/srpm_builder.py
@@ -98,7 +98,7 @@ def build_srpm(r, b):
     status.push("building %s" % b.spec)
 
     b.src_rpm = ""
-    builder_opts = "-nu -nm --nodeps --http"
+    builder_opts = "-nu -nm --nodeps --http --define '_pld_builder 1'"
     if ("test-build" in r.flags):
                     tag_test=""
     else:
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/projects/pld-builder.new.git/commitdiff/42a60657db52d14d0e3b247e39602f10574864d3



More information about the pld-cvs-commit mailing list