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

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