Description of problem:
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.
Version-Release number of selected component (if applicable):
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
Version "range": between 3.10.0-327.36.3.el7 and 3.10.0-693.36.3.el7
3. update the filter rule to:
Version "Greater than": 3.10.0-693.36.3.el7
4. publish the CV
Kernel 3.10.0-862.2.3.el7 is included
Kernel 3.10.0-862.2.3.el7 should not be included because it is higher than 3.10.0-693.36.3
Created attachment 1440959 [details]
propose a patch
This is built on top of 18.104.22.168.
Connecting redmine issue http://projects.theforeman.org/issues/23867 from this bug
Connecting redmine issue http://projects.theforeman.org/issues/20876 from this bug
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/20876 has been resolved.
Aligning to 6.4, since the fix should already be in the release.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.