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 --- NEWS | 2 ++ build.macros.in | 5 +---- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/NEWS b/NEWS index 9ab040b..bd49aee 100644 --- a/NEWS +++ b/NEWS @@ -1,5 +1,7 @@ - generate requires on "python(abi) = x.y" instead of "python >= x.y" for python modules to properly handle the strict dependency +- remove runtime dependencies from %py_requires as they are now handled + automatically Version 1.110 - 18 October 2010, by Per Øyvind Karlsen - fix warning from rubygems.rb 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