6a559ad Process spec file line by line, be more lenient

Authored and Committed by nphilipp 4 years ago
    Process spec file line by line, be more lenient
    
    Avoid loading the spec file completely into memory, instead process it
    line by line. In the process, make detecting the use of %autochangelog a
    bit more lenient and test a couple of cases around this.
    
    Signed-off-by: Nils Philippsen <nils@redhat.com>