summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-08 15:13:24 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-08 15:13:24 +0000
commitd56854253b818608db016e8c25273fede8c049d5 (patch)
tree5456a66c6033f7ad6d2774c12869fed464a15657
parente8965b6a8ff4174776d14a840f031cddc48a2faa (diff)
automatic import of python-json-flatteneropeneuler20.03
-rw-r--r--python-json-flattener.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/python-json-flattener.spec b/python-json-flattener.spec
index 4f45cb1..3c7297b 100644
--- a/python-json-flattener.spec
+++ b/python-json-flattener.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: Python library for denormalizing nested dicts or json objects to tables and back
License: BSD
URL: https://github.com/cmungall/json-flattener
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/6d/77/b00e46d904818826275661a690532d3a3a43a4ded0264b2d7fcdb5c0feea/json_flattener-0.1.9.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/6d/77/b00e46d904818826275661a690532d3a3a43a4ded0264b2d7fcdb5c0feea/json_flattener-0.1.9.tar.gz
BuildArch: noarch
Requires: python3-click
@@ -459,7 +459,7 @@ https://csvjson.com/json2csv
%prep
-%autosetup -n json-flattener-0.1.9
+%autosetup -n json_flattener-0.1.9
%build
%py3_build
@@ -473,20 +473,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 .
@@ -499,5 +499,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 0.1.9-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 0.1.9-1
- Package Spec generated