]> git.pld-linux.org Git - projects/pld-builder.new.git/commitdiff
- handle conflicts case without explict version
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 22 Jan 2009 20:50:16 +0000 (20:50 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    PLD_Builder/install.py -> 1.12

PLD_Builder/install.py

index ea5ab91d62bd7575a4153dad090e7331af4a8661..43a42e25aba7dbd303c6156e5da47d5a1300ceb3 100644 (file)
@@ -105,7 +105,9 @@ def uninstall_self_conflict(b):
     tmpdir = "/tmp/BR." + b.b_id[0:6]
     f = chroot.popen("cd rpm/SPECS; TMPDIR=%s rpmbuild -bp --nobuild --short-circuit --define 'prep exit 0' %s %s 2>&1" \
             % (tmpdir, rpmbuild_opt, b.spec))
-    rx = re.compile(r"\s+([\w-]+)\s+.*\s+conflicts with [^\s]+-[^-]+-[^-]+\.src$")
+    # java-sun >= 1.5 conflicts with soprano-2.1.67-1.src
+    # java-sun conflicts with soprano-2.1.67-1.src
+    rx = re.compile(r"\s+([\w-]+)\s+.*conflicts with [^\s]+-[^-]+-[^-]+\.src$")
     conflicting = {}
     for l in f.xreadlines():
         m = rx.search(l)
This page took 0.078028 seconds and 4 git commands to generate.