Add pustun script to remove survice files
This commit is contained in:
parent
75f56ce380
commit
d25e3fefc9
@ -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 <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
|
||||
- Package Spec generated
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user