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

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