Blame SOURCES/BZ-1052871-debuginfo-install-wrong-repo-suffix.patch

085af2
diff --git a/debuginfo-install.py b/debuginfo-install.py
085af2
index 0f026f1..bb61a1d 100755
085af2
--- a/debuginfo-install.py
085af2
+++ b/debuginfo-install.py
085af2
@@ -86,7 +86,10 @@ class DebugInfoInstall(YumUtilBase):
085af2
         for repo in self.repos.listEnabled():
085af2
             repos[repo.id] = repo
085af2
         for repoid in repos:
085af2
-            di = '%s-debuginfo' % repoid
085af2
+            if repoid.endswith('-rpms'):
085af2
+                di = repoid[:-5] + '-debug-rpms'
085af2
+            else:
085af2
+                di = '%s-debuginfo' % repoid
085af2
             if di in repos:
085af2
                 continue
085af2
             repo = repos[repoid]