summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-09 07:35:47 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-09 07:35:47 +0000
commit1b77e46cd687d1b045693d1fd9a252e6a4f3a34f (patch)
treed57bf8739edfe9bdc4c2fa9f20c835966d5b6967
parent680920774a7e9ed505d0bfd0b712df3f5387a7b8 (diff)
automatic import of python-application-propertiesopeneuler20.03
-rw-r--r--python-application-properties.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/python-application-properties.spec b/python-application-properties.spec
index 3b44a60..f4d8025 100644
--- a/python-application-properties.spec
+++ b/python-application-properties.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: A simple, easy to use, unified manner of accessing program properties.
License: MIT License
URL: https://github.com/jackdewinter/application_properties
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/97/53/cdff1152a8d0ee4bcd3e5e17cc612b30920d65881cfe6fd883b2ad873420/application_properties-0.7.0.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/97/53/cdff1152a8d0ee4bcd3e5e17cc612b30920d65881cfe6fd883b2ad873420/application_properties-0.7.0.tar.gz
BuildArch: noarch
Requires: python3-tomli
@@ -263,7 +263,7 @@ section on the home page.
%prep
-%autosetup -n application-properties-0.7.0
+%autosetup -n application_properties-0.7.0
%build
%py3_build
@@ -277,20 +277,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 .
@@ -303,5 +303,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 0.7.0-1
+* Fri Jun 09 2023 Python_Bot <Python_Bot@openeuler.org> - 0.7.0-1
- Package Spec generated