1
0

Accepting request 852726 from home:bnavigator:branches:devel:languages:python

- compile cache for all python3 flavors
  gh#openSUSE/python-rpm-macros#66

OBS-URL: https://build.opensuse.org/request/show/852726
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jaraco.functools?expand=0&rev=15
This commit is contained in:
Matej Cepl 2020-12-02 22:12:06 +00:00 committed by Git OBS Bridge
parent ca9ad471d4
commit 28277420d8
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Dec 2 21:54:54 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
- compile cache for all python3 flavors
gh#openSUSE/python-rpm-macros#66
-------------------------------------------------------------------
Thu Sep 17 11:33:01 UTC 2020 - Dirk Mueller <dmueller@suse.com>

View File

@ -57,8 +57,11 @@ rm -rf jaraco.functools.egg-info
%python_expand rm %{buildroot}%{$python_sitelib}/jaraco/__init__.py
%{?python_compileall}
%{!?python_compileall: # if we haven no python_compileall we are for sure still without multiple python3 flavors.
%py3_compile %{buildroot}%{python3_sitelib}/jaraco/
%py3_compile -O %{buildroot}%{python3_sitelib}/jaraco/
}
%python_expand %fdupes %{buildroot}%{$python_sitelib}