aboutsummaryrefslogtreecommitdiffstats
path: root/build.macros.in
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2015-08-05 18:55:17 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2015-08-05 18:55:17 +0200
commitd5a6b49300b67df2456c819ab2f2b41cb9d6d98f (patch)
tree0cea99a3da01445e66558a755be6b736ee4afc95 /build.macros.in
parent08bbcec4a6473dfae2650fa5854aa5731a4cde72 (diff)
downloadrpm-setup-d5a6b49300b67df2456c819ab2f2b41cb9d6d98f.tar
rpm-setup-d5a6b49300b67df2456c819ab2f2b41cb9d6d98f.tar.gz
rpm-setup-d5a6b49300b67df2456c819ab2f2b41cb9d6d98f.tar.bz2
rpm-setup-d5a6b49300b67df2456c819ab2f2b41cb9d6d98f.tar.xz
rpm-setup-d5a6b49300b67df2456c819ab2f2b41cb9d6d98f.zip
drop py_compile
last user (svn) was fixed
Diffstat (limited to 'build.macros.in')
-rw-r--r--build.macros.in7
1 files changed, 0 insertions, 7 deletions
diff --git a/build.macros.in b/build.macros.in
index 564fb57..e6c2b28 100644
--- a/build.macros.in
+++ b/build.macros.in
@@ -400,13 +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_compile(O) \
-find %1 -name '*.pyc' -exec rm -f {} \\; \
-python -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 \
-%{-O: \
-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) \
BuildRequires: python %{-d:python-devel}