Skip to content

#934472 reportbug/utils.py: fix versioned provides recognition

Nis Martensen requested to merge nma/reportbug:934472_versioned_provides into master

get_package_info() so far did not support parsing package 'Provides:' metadata lines where any version is specified. Fix this by recognizing version restriction both for the package(s) we are looking for and the packages that we are not interested in.

Since the recognized provides now may contain such a version restriction and we really only want the package name, remove the unneeded information before returning.

Merge request reports

Loading