!6 delete pycache directory when uninstalling
From: @wang--ge Reviewed-by: @shinwell_hu Signed-off-by: @shinwell_hu
This commit is contained in:
commit
4b8b4916d5
@ -1,14 +1,13 @@
|
|||||||
%global _empty_manifest_terminate_build 0
|
%global _empty_manifest_terminate_build 0
|
||||||
Name: python-ovs
|
Name: python-ovs
|
||||||
Version: 2.11.0
|
Version: 2.11.0
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: Open vSwitch library
|
Summary: Open vSwitch library
|
||||||
License: Apache 2.0
|
License: Apache 2.0
|
||||||
URL: http://www.openvswitch.org/
|
URL: http://www.openvswitch.org/
|
||||||
Source0: https://files.pythonhosted.org/packages/81/06/387b2159ac073de95e484aa6e2f108a232cd906e350307168843061f899f/ovs-%{version}.tar.gz
|
Source0: https://files.pythonhosted.org/packages/81/06/387b2159ac073de95e484aa6e2f108a232cd906e350307168843061f899f/ovs-%{version}.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Open vSwitch library
|
Open vSwitch library
|
||||||
|
|
||||||
@ -60,12 +59,25 @@ popd
|
|||||||
mv %{buildroot}/filelist.lst .
|
mv %{buildroot}/filelist.lst .
|
||||||
mv %{buildroot}/doclist.lst .
|
mv %{buildroot}/doclist.lst .
|
||||||
|
|
||||||
|
|
||||||
%files -n python3-ovs -f filelist.lst
|
%files -n python3-ovs -f filelist.lst
|
||||||
%dir %{python3_sitearch}/*
|
%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
|
%files help -f doclist.lst
|
||||||
%{_pkgdocdir}
|
%{_pkgdocdir}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Oct 8 2021 Ge Wang <wangge20@huawei.com> - 2.11.0-2
|
||||||
|
- Delete pycache directory when uninstalling
|
||||||
|
|
||||||
* Thu May 20 2021 Python_Bot <Python_Bot@openeuler.org> -2.11.0-1
|
* Thu May 20 2021 Python_Bot <Python_Bot@openeuler.org> -2.11.0-1
|
||||||
- Package Spec generated
|
- Package Spec generated
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user