aboutsummaryrefslogtreecommitdiffstats
path: root/build.macros.in
diff options
context:
space:
mode:
Diffstat (limited to 'build.macros.in')
-rw-r--r--build.macros.in5
1 files changed, 1 insertions, 4 deletions
diff --git a/build.macros.in b/build.macros.in
index 0c810e5..30ca07f 100644
--- a/build.macros.in
+++ b/build.macros.in
@@ -293,10 +293,7 @@ find %1 -name '*.pyo' -exec rm -f {} \\; \
python -O -c "import sys, os, compileall; br='%{buildroot}'; compileall.compile_dir(sys.argv[1], ddir=br and (sys.argv[1][len(os.path.abspath(br)):]+'/') or None)" %1 \
}
%py_requires(d) \
-%define minver %py_ver \
-%define maxver %(python -c "import sys; a,b=sys.version_info[:2]; print '%%d.%%d'%%(a,b+1)" 2>/dev/null || echo PYTHON-NOT-FOUND) \
-BuildRequires: python %{-d:python-devel} \
-Requires: python >= %minver, python < %maxver
+BuildRequires: python %{-d:python-devel}
#------------------------------------------------------------------------------