From f5f4323a3351c318d26fc9b2e736328d6b1b4137eddb0278c9c022aa4b9505b7 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Sun, 19 Sep 2021 19:45:23 +0000 Subject: [PATCH] Fix SPEC OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jsonpatch?expand=0&rev=51 --- python-jsonpatch.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python-jsonpatch.spec b/python-jsonpatch.spec index 8c88859..78d4753 100644 --- a/python-jsonpatch.spec +++ b/python-jsonpatch.spec @@ -58,7 +58,7 @@ rm %{buildroot}%{_bindir}/jsondiff %post %python_install_alternative jsonpatch -%preun +%postun %python_uninstall_alternative jsonpatch %files %{python_files} @@ -66,5 +66,6 @@ rm %{buildroot}%{_bindir}/jsondiff %doc AUTHORS README.md %python_alternative %{_bindir}/jsonpatch %{python_sitelib}/jsonpatch* +%pycache_only %{python_sitelib}/__pycache__/jsonpatch*.pyc %changelog