diff --git a/macros.python b/macros.python index 6c6b478..99a22e2 100644 --- a/macros.python +++ b/macros.python @@ -3,6 +3,8 @@ %py_libdir %{py_prefix}/%{_lib}/python%{py_ver} %py_incdir %{py_prefix}/include/python%{py_ver} %py_sitedir %{py_libdir}/site-packages +%__python2 /usr/bin/python2 + %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 \ diff --git a/python-base.changes b/python-base.changes index f5e91e7..893b4a7 100644 --- a/python-base.changes +++ b/python-base.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jun 10 11:19:58 UTC 2015 - dmueller@suse.com + +- add __python2 compatibility macro (used by Fedora) + ------------------------------------------------------------------- Sun May 24 14:36:37 UTC 2015 - michael@stroeder.com