Bug #23867
closedCV Package filters not handling greater than or less than properly
Description
Given a CV that is using an exclude filter for RPMS. The filter has a rule that is using version range on a package. After changing this rule to "Greater than",
no packages got excluded when publishing the CV.
Steps to Reproduce:
1. Create a CV with "Red Hat Enterprise Linux 7 Server RPMs x86_64 7Server " repo
2. Create an exclude fitler for kernel pacakge like this
Type: Exclude
RPM: kernel
Version "range": between 3.10.0-327.36.3.el7 and 3.10.0-693.36.3.el7
3. update the same filter rule created in 2 to:
Type: Exclude
RPM: kernel
Version "Greater than": 3.10.0-693.36.3.el7
4. publish the CV
Actual results:
Kernel 3.10.0-862.2.3.el7 is included
Expected results:
Kernel 3.10.0-862.2.3.el7 should not be included because it is higher than 3.10.0-693.36.3