SHA256
1
0
forked from pool/python

Accepting request 311484 from devel:languages:python:Factory

1

OBS-URL: https://build.opensuse.org/request/show/311484
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python?expand=0&rev=116
This commit is contained in:
Dominique Leuenberger 2015-06-12 18:28:37 +00:00 committed by Git OBS Bridge
commit da02c63043
2 changed files with 7 additions and 0 deletions

View File

@ -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 \

View File

@ -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