[projects/pld-builder.new] - use --nodeps when installing src.rpm due to rpm5 requiring deps even for srpms

baggins baggins at pld-linux.org
Fri Oct 19 12:52:00 CEST 2012


commit 242d917b7d9c7794fdc48385eaf214e5dde59283
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Fri Oct 19 12:51:05 2012 +0200

    - use --nodeps when installing src.rpm due to rpm5 requiring deps even
      for srpms

 PLD_Builder/rpm_builder.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/PLD_Builder/rpm_builder.py b/PLD_Builder/rpm_builder.py
index 2cf525f..5d879c1 100644
--- a/PLD_Builder/rpm_builder.py
+++ b/PLD_Builder/rpm_builder.py
@@ -181,7 +181,7 @@ def build_rpm(r, b):
         # b.id %(bid)s
         set -ex;
         install -d rpm/packages/%(package)s rpm/BUILD/%(package)s;
-        rpm -Uhv %(rpmdefs)s %(src_rpm)s;
+        rpm -Uhv --nodeps %(rpmdefs)s %(src_rpm)s;
         rm -f %(src_rpm)s;
     """ % {
         'bid' : b.b_id,
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/projects/pld-builder.new.git/commitdiff/242d917b7d9c7794fdc48385eaf214e5dde59283



More information about the pld-cvs-commit mailing list