Changeset 931


Ignore:
Timestamp:
Dec 5, 2009, 6:30:53 PM (10 years ago)
Author:
Bruno Cornec
Message:
  • Fix a bug in the analysis of Build-Requires (middle packages were missed)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/pb-modules/lib/ProjectBuilder/Distribution.pm

    r899 r931  
    298298    s/$regexp/$1/i;
    299299    # Remove conditions in the middle and at the end for deb
    300     s/\(\s*[><=]+.*\)\s*,/,/g;
     300    s/\(\s*[><=]+.*\)[^,]*,/,/g;
    301301    s/\(\s*[><=]+.*$//g;
    302302    # Same for rpm
    303     s/[><=]+.*,/,/g;
     303    s/[><=]+[^,]*,/,/g;
    304304    s/[><=]+.*$//g;
    305305    # Improve string format (remove , and spaces at start, end and in double
Note: See TracChangeset for help on using the changeset viewer.