#335 Bypass python(abi) Require in CheckIfDepsDeprecated
Merged 5 years ago by ngompa. Opened 5 years ago by eclipseo.

file modified
+3
@@ -1947,6 +1947,9 @@

                  if r.startswith('rpmlib'):

                      requires_to_process.remove(r)

                      continue

+                 if "python(abi)" in r:

+                     requires_to_process.remove(r)

+                     continue

                  for pkg in self.spec.packages:

                      if r in self.rpms.get(pkg).provides:

                          requires_to_process.remove(r)

Python packages require python(abi). The issue is that it is provided by
both python2-devel and python3-devel, which causes CheckIfDepsDeprecated
to detect our package as depending on the deprecated() python2 in
python3 packages. This patch makes it ignore the python(abi) require to
avoid this, the detection of python2 reposing now solely on the presence
of python2-devel require.

@ngompa just a minor bug to squash.

Pull-Request has been merged by ngompa

5 years ago
Metadata