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