diff --git a/python-jaraco.functools.changes b/python-jaraco.functools.changes index 906e1c3..907ea7a 100644 --- a/python-jaraco.functools.changes +++ b/python-jaraco.functools.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Dec 2 21:54:54 UTC 2020 - Benjamin Greiner + +- compile cache for all python3 flavors + gh#openSUSE/python-rpm-macros#66 + ------------------------------------------------------------------- Thu Sep 17 11:33:01 UTC 2020 - Dirk Mueller diff --git a/python-jaraco.functools.spec b/python-jaraco.functools.spec index ed33d3a..9cbbf95 100644 --- a/python-jaraco.functools.spec +++ b/python-jaraco.functools.spec @@ -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}