Accepting request 311436 from home:dirkmueller:branches:devel:languages:python:Factory
- add __python2 compatibility macro (used by Fedora) OBS-URL: https://build.opensuse.org/request/show/311436 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=184
This commit is contained in:
parent
216e03b9de
commit
08c864955f
@ -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 \
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user