From d5a6b49300b67df2456c819ab2f2b41cb9d6d98f Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 5 Aug 2015 18:55:17 +0200 Subject: drop py_compile last user (svn) was fixed --- build.macros.in | 7 ------- 1 file changed, 7 deletions(-) (limited to 'build.macros.in') 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} -- cgit v1.2.1