Description of problem: `yum-builddep libreoffice` fails to complete due to `Error: Invalid version flag: if` on Docker image `fedora:30` Version-Release number of selected component (if applicable): 30 How reproducible: Steps to Reproduce: 1. docker run -it fedora:30 2. yum install -y yum-utils 3. yum-builddep libreoffice Actual results: The command finishes with "Error: Invalid version flag: if" and advises that `--skip-broken` can be used. Expected results: The command should terminated successfully without a warning even though `--skip-broken` probably allows to work around the issue. Additional info:
`dnf builddep libreoffice` works just fine.
Unfortunately, YUM-3 doesn't support boolean deps. Moreover, YUM-3 is deprecated and completely removed from Fedora 31. Please use "dnf builddep" from the dnf-plugins-core package instead.