• Michael Shigorin's avatar
    lists: drop leading/trailing whitespace · 1a525c89
    Michael Shigorin authored
    This is a workaround for presumably alterator-pkg's
    misbehaviour given a pkglist with a line ending with
    a space character; my particular case grew from @E2K
    suffix resulting in "%name@e2k %name@e2kv4" which,
    in its turn, became "%name " in e2k-arch build.
    
    Installer complained about being
    
      unable to install in selected configuration
    
    with /tmp/install2.log "clarifying" the problem to be
    %name  being unavailable (while %name package was there
    in both RPMS.main and metadata)... not obvious at all!
    
    So while downstream should be hardened either, let's do
    what we can do here.
    1a525c89
Makefile 1.59 KB