diff --git a/python-sortedcontainers.spec b/python-sortedcontainers.spec index 4bee6c1..655056b 100644 --- a/python-sortedcontainers.spec +++ b/python-sortedcontainers.spec @@ -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 - 2.4.0-2 +- remove duplicate content + * Tue Jul 27 2021 liyanan - 2.4.0-1 - update to 2.4.0 - add python2 sub-package