sergiomb / FedoraReview

Forked from FedoraReview 6 years ago
Clone

aa1f9dc Fix make_release -q

Authored and Committed by Michel Alexandre Salim 2 years ago
1 file changed. 3 lines added. 2 lines removed.
    Fix make_release -q
    
    Similar to 2420135cca4420df57a24b5225188e36b220f969 -- the syntax for
    rpmlint config files are changed in version 2.1.0 and above. Run with
    the stock rpmlint config rather than not being able to run rpmlint at
    all.
    
    If we just switch from passing the config (from `-f` to `-r`) it
    generates errors for unused filters:
    
    ```
    fedora-review.spec: E: unused-rpmlintrc-filter "spelling-error"
    fedora-review.spec: E: unused-rpmlintrc-filter "invalid-url"
    fedora-review.spec: E: unused-rpmlintrc-filter "file-size-mismatch"
    fedora-review.spec: E: unused-rpmlintrc-filter "changelog-time-in-future"
     1 packages and 1 specfiles checked; 4 errors, 0 warnings, 4 badness; has taken
    0.8 s
    ```
    
    Fixes #425 and #454.
    
    Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
    
        
file modified
+3 -2