From db36a0e03e834aef2ec3d27a97f99a041d378f671223d6441d2cb307238d0855 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Fri, 23 Oct 2020 14:43:40 +0000 Subject: [PATCH] - Use %pycache_only %python_sitelib instead of %python3_sitelib fixes gh#openSUSE/python-rpm-macros#64#issuecomment-715373348 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ordered-set?expand=0&rev=12 --- python-ordered-set.changes | 6 ++++++ python-ordered-set.spec | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/python-ordered-set.changes b/python-ordered-set.changes index e3aad53..9ee3bbc 100644 --- a/python-ordered-set.changes +++ b/python-ordered-set.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Oct 23 14:43:30 UTC 2020 - Matej Cepl + +- Use %pycache_only %python_sitelib instead of %python3_sitelib + fixes gh#openSUSE/python-rpm-macros#64#issuecomment-715373348 + ------------------------------------------------------------------- Wed Aug 12 20:31:01 UTC 2020 - Matej Cepl diff --git a/python-ordered-set.spec b/python-ordered-set.spec index 6aae29c..26df815 100644 --- a/python-ordered-set.spec +++ b/python-ordered-set.spec @@ -79,7 +79,7 @@ cp -r ordered_set.egg-info %{buildroot}%{$python_sitelib}/ordered_set-%{version} %doc README.md %{python_sitelib}/%{dir_name}-* %{python_sitelib}/%{dir_name}.py* -%pycache_only %{python3_sitelib}/__pycache__/%{dir_name}.* +%pycache_only %{python_sitelib}/__pycache__/%{dir_name}.* %endif %changelog