From a6604f9b2c1e2405387bf0c2c6cb39a2549ad577 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 5 Aug 2015 19:57:44 +0200 Subject: kill unused %py_requires python macro --- NEWS | 1 + build.macros.in | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/NEWS b/NEWS index 04070ef..b91e436 100644 --- a/NEWS +++ b/NEWS @@ -1,4 +1,5 @@ - kill python macros that are already defined in rpm +- kill unused python macros (py_compile, py_requires) Version 2.12 - 7 July 2015, by Christiaan Welvaart diff --git a/build.macros.in b/build.macros.in index e6c2b28..f4af4e8 100644 --- a/build.macros.in +++ b/build.macros.in @@ -400,9 +400,6 @@ Internationalization and locale data for %{?1:%{1}}%{?!1:%{name}}\ %py_platsitedir %(python -c 'import distutils.sysconfig; print distutils.sysconfig.get_python_lib(plat_specific=1)' 2>/dev/null || echo PYTHON-LIBDIR-NOT-FOUND) %py_puresitedir %(python -c 'import distutils.sysconfig; print distutils.sysconfig.get_python_lib()' 2>/dev/null || echo PYTHON-LIBDIR-NOT-FOUND) -%py_requires(d) \ -BuildRequires: python %{-d:python-devel} - #------------------------------------------------------------------------------ # Java Macros # -- cgit v1.2.1