d8e4bb0 deps: use mock shell instead of `--pm-cmd`

Authored and Committed by sbonazzo a year ago
    deps: use mock shell instead of `--pm-cmd`
    
    Running `mock` with `-qn` and `--pm-cmd` shows no output.
    In order to get meaningfull output with `-qn` we need to use
    `--shell` and call `dnf` directly.
    
    Addressed also a missing migration from `dnf` to `dnf5`
    as it was hidden by the execution through `--pm-cmd`: changed
    `--resolve` in `--providers-of=requires`.
    
    Having empty output caused several issues including a wrong detection of
    directories ownership as reported and discussed in issue #515.
    
    Fixes: #515
    
    Signed-off-by: Sandro Bonazzola <sbonazzo@redhat.com>
    
        
file modified
+13 -13