From 7c95119a5d2f36ea4274d0763441d722e543e1a9 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Thu, 8 Jun 2023 07:24:10 +0000 Subject: automatic import of python-edit-distance --- python-edit-distance.spec | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'python-edit-distance.spec') diff --git a/python-edit-distance.spec b/python-edit-distance.spec index 4c55c96..ca1c9e8 100644 --- a/python-edit-distance.spec +++ b/python-edit-distance.spec @@ -5,7 +5,7 @@ Release: 1 Summary: Computing edit distance on arbitrary Python sequences. License: LICENSE.txt URL: https://github.com/belambert/editdistance -Source0: https://mirrors.nju.edu.cn/pypi/web/packages/16/b2/27b30ff8c251012789f0976de74a5b497a03ab259c7ae2b08502b81618bb/edit_distance-1.0.6.tar.gz +Source0: https://mirrors.aliyun.com/pypi/web/packages/16/b2/27b30ff8c251012789f0976de74a5b497a03ab259c7ae2b08502b81618bb/edit_distance-1.0.6.tar.gz BuildArch: noarch @@ -79,7 +79,7 @@ If you find this library useful or have any suggestions, please send me a message. %prep -%autosetup -n edit-distance-1.0.6 +%autosetup -n edit_distance-1.0.6 %build %py3_build @@ -93,20 +93,20 @@ 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 -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 + find usr/lib64 -type f -printf "\"/%h/%f\"\n" >> filelist.lst fi if [ -d usr/bin ]; then - find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst + find usr/bin -type f -printf "\"/%h/%f\"\n" >> filelist.lst fi if [ -d usr/sbin ]; then - find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst + find usr/sbin -type f -printf "\"/%h/%f\"\n" >> filelist.lst fi touch doclist.lst if [ -d usr/share/man ]; then - find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst + find usr/share/man -type f -printf "\"/%h/%f.gz\"\n" >> doclist.lst fi popd mv %{buildroot}/filelist.lst . @@ -119,5 +119,5 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog -* Tue May 30 2023 Python_Bot - 1.0.6-1 +* Thu Jun 08 2023 Python_Bot - 1.0.6-1 - Package Spec generated -- cgit v1.2.3