Blame SOURCES/BZ-1095146-file-uris-normpath.patch

65829f
commit bec81af1bffdd3c3511ad8861fb66b376bee89e9
65829f
Author: Valentina Mukhamedzhanova <vmukhame@redhat.com>
65829f
Date:   Thu Mar 27 16:56:19 2014 +0100
65829f
65829f
    normpath() file URIs. BZ 1009499
65829f
65829f
diff --git a/yum/__init__.py b/yum/__init__.py
65829f
index 84ca658..ac01435 100644
65829f
--- a/yum/__init__.py
65829f
+++ b/yum/__init__.py
65829f
@@ -562,6 +562,7 @@ class YumBase(depsolve.Depsolve):
65829f
             # if we don't do this then anaconda likes to not  work.
65829f
             if os.path.exists(self.conf.installroot+'/'+reposdir):
65829f
                 reposdir = self.conf.installroot + '/' + reposdir
65829f
+            reposdir = os.path.normpath(reposdir)
65829f
 
65829f
             if os.path.isdir(reposdir):
65829f
                 for repofn in sorted(glob.glob('%s/*.repo' % reposdir)):