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

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