diff --git a/python-openvswitch.spec b/python-openvswitch.spec index 6f6010af4574062513ecc34c14febf871408150d..e3c3307be488f4450422d4f868aef10dce9302cd 100644 --- a/python-openvswitch.spec +++ b/python-openvswitch.spec @@ -1,14 +1,13 @@ %global _empty_manifest_terminate_build 0 Name: python-ovs Version: 2.11.0 -Release: 1 +Release: 2 Summary: Open vSwitch library License: Apache 2.0 URL: http://www.openvswitch.org/ Source0: https://files.pythonhosted.org/packages/81/06/387b2159ac073de95e484aa6e2f108a232cd906e350307168843061f899f/ovs-%{version}.tar.gz BuildArch: noarch - %description Open vSwitch library @@ -60,12 +59,25 @@ popd mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . + %files -n python3-ovs -f filelist.lst %dir %{python3_sitearch}/* +%dir %{python3_sitearch}/ovs/__pycache__ +%dir %{python3_sitearch}/ovs/compat +%dir %{python3_sitearch}/ovs/compat/__pycache__ +%dir %{python3_sitearch}/ovs/compat/sortedcontainers +%dir %{python3_sitearch}/ovs/compat/sortedcontainers/__pycache__ +%dir %{python3_sitearch}/ovs/db +%dir %{python3_sitearch}/ovs/db/__pycache__ +%dir %{python3_sitearch}/ovs/unixctl +%dir %{python3_sitearch}/ovs/unixctl/__pycache__ %files help -f doclist.lst %{_pkgdocdir} %changelog +* Fri Oct 8 2021 Ge Wang - 2.11.0-2 +- Delete pycache directory when uninstalling + * Thu May 20 2021 Python_Bot -2.11.0-1 - Package Spec generated