diff options
author | Per Øyvind Karlsen <peroyvind@mandriva.org> | 2010-11-01 22:34:41 +0000 |
---|---|---|
committer | Per Øyvind Karlsen <peroyvind@mandriva.org> | 2010-11-01 22:34:41 +0000 |
commit | 5f1c99a31c75ec21b70bba3284663aedd868e739 (patch) | |
tree | 32741954be6548b919123e8b2ba8c4ef20505191 | |
parent | 2de60c361b9ea405fc7084883f9a46440c40b8a5 (diff) | |
download | rpm-setup-5f1c99a31c75ec21b70bba3284663aedd868e739.tar rpm-setup-5f1c99a31c75ec21b70bba3284663aedd868e739.tar.gz rpm-setup-5f1c99a31c75ec21b70bba3284663aedd868e739.tar.bz2 rpm-setup-5f1c99a31c75ec21b70bba3284663aedd868e739.tar.xz rpm-setup-5f1c99a31c75ec21b70bba3284663aedd868e739.zip |
add strict version requires on python version
-rwxr-xr-x | pythoneggs.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pythoneggs.py b/pythoneggs.py index ce92fb1..33093ec 100755 --- a/pythoneggs.py +++ b/pythoneggs.py @@ -59,7 +59,7 @@ for f in files: platlib = get_python_lib(standard_lib=1, plat_specific=1).split(version[:3])[0] for lib in (purelib, platlib): if lib in f: - spec = ('>=',f.split(lib)[1].split(sep)[0]) + spec = ('==',f.split(lib)[1].split(sep)[0]) if not spec in py_deps[name]: py_deps[name].append(spec) if lower.endswith('.egg') or \ @@ -95,7 +95,7 @@ for f in files: elif py_abi and dist.py_version: if not name in py_deps: py_deps[name] = [] - spec = ('>=', dist.py_version) + spec = ('==', dist.py_version) if not spec in py_deps[name]: py_deps[name].append(spec) deps = dist.requires() |