aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2015-08-05 19:57:44 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2015-08-05 19:57:44 +0200
commita6604f9b2c1e2405387bf0c2c6cb39a2549ad577 (patch)
tree2e44dfbb7c9bd890558b0242d115a7533095a20e
parentd5a6b49300b67df2456c819ab2f2b41cb9d6d98f (diff)
downloadrpm-setup-a6604f9b2c1e2405387bf0c2c6cb39a2549ad577.tar
rpm-setup-a6604f9b2c1e2405387bf0c2c6cb39a2549ad577.tar.gz
rpm-setup-a6604f9b2c1e2405387bf0c2c6cb39a2549ad577.tar.bz2
rpm-setup-a6604f9b2c1e2405387bf0c2c6cb39a2549ad577.tar.xz
rpm-setup-a6604f9b2c1e2405387bf0c2c6cb39a2549ad577.zip
kill unused %py_requires python macro
-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
#