remove duplicate content

(cherry picked from commit 78a0f4621cee99fe11b405fcc9b41918371e4c17)
This commit is contained in:
lyn1001 2021-08-21 11:16:54 +08:00 committed by openeuler-sync-bot
parent 4dddc8beb9
commit 58a0a0dff1

View File

@ -2,7 +2,7 @@
%global _empty_manifest_terminate_build 0
Name: python-sortedcontainers
Version: 2.4.0
Release: 1
Release: 2
Summary: Sorted Containers -- Sorted List, Sorted Dict, Sorted Set
License: Apache 2.0
URL: https://github.com/grantjenks/python-sortedcontainers
@ -65,7 +65,7 @@ if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
pushd %{buildroot}
if [ -d usr/lib ]; then
find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
find usr/lib/python%{python3_version} -type f -printf "/%h/%f\n" >> filelist.lst
fi
if [ -d usr/lib64 ]; then
find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
@ -96,6 +96,9 @@ mv %{buildroot}/doclist.lst .
%{_pkgdocdir}
%changelog
* Sat Aug 21 2021 liyanan <liyanan32@huawei.com> - 2.4.0-2
- remove duplicate content
* Tue Jul 27 2021 liyanan <liyanan32@huawei.com> - 2.4.0-1
- update to 2.4.0
- add python2 sub-package