From e1458f1de2af82596fe6cebed0af60e2ac0bc2b7 Mon Sep 17 00:00:00 2001 From: Anssi Hannula Date: Sat, 30 Oct 2010 03:13:02 +0000 Subject: - remove runtime dependencies from %py_requires as they are now handled automatically --- build.macros.in | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'build.macros.in') 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} #------------------------------------------------------------------------------ -- cgit v1.2.1