From 6d88b2d5204bf59e7e870f9d910aad3b55f130ad Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Fri, 9 Jun 2023 06:02:44 +0000 Subject: automatic import of python-config-resolver --- python-config-resolver.spec | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/python-config-resolver.spec b/python-config-resolver.spec index f75f13a..2fcf74e 100644 --- a/python-config-resolver.spec +++ b/python-config-resolver.spec @@ -5,7 +5,7 @@ Release: 1 Summary: A small package to automatically find a configuration file. License: MIT URL: https://github.com/exhuma/config_resolver -Source0: https://mirrors.nju.edu.cn/pypi/web/packages/63/bd/1c687689b2bd07eb32dbf880e1fa7c826c7761d5d52c1f394daf5b051197/config_resolver-5.1.0.tar.gz +Source0: https://mirrors.aliyun.com/pypi/web/packages/63/bd/1c687689b2bd07eb32dbf880e1fa7c826c7761d5d52c1f394daf5b051197/config_resolver-5.1.0.tar.gz BuildArch: noarch Requires: python3-packaging @@ -95,7 +95,7 @@ to override config locations. The aims of this package are: 4. Per-Instance configuration %prep -%autosetup -n config-resolver-5.1.0 +%autosetup -n config_resolver-5.1.0 %build %py3_build @@ -109,20 +109,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 . @@ -135,5 +135,5 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog -* Wed May 31 2023 Python_Bot - 5.1.0-1 +* Fri Jun 09 2023 Python_Bot - 5.1.0-1 - Package Spec generated -- cgit v1.2.3