aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rw-r--r--build.macros.in3
2 files changed, 1 insertions, 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
#