summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-08 15:44:11 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-08 15:44:11 +0000
commit7a0ce2f98b04ce66cd63b6e13f274fcdaa5f261d (patch)
treeab1d24a91b6f3f27f59c3d3868da05290b515b5a
parentf7633d69216e635108af4e7fc96d758818aa50de (diff)
automatic import of python-pynetworkd3openeuler20.03
-rw-r--r--python-pynetworkd3.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/python-pynetworkd3.spec b/python-pynetworkd3.spec
index 8e967fe..60e3a8e 100644
--- a/python-pynetworkd3.spec
+++ b/python-pynetworkd3.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: Create D3 visualization networks with Python
License: MIT
URL: https://github.com/Hernan4444/PyNetworkD3
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/2d/16/be104e432409b738b225d264881683b93f3dfaacf951387a7ab526a46043/PyNetworkD3-0.0.9.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/2d/16/be104e432409b738b225d264881683b93f3dfaacf951387a7ab526a46043/PyNetworkD3-0.0.9.tar.gz
BuildArch: noarch
Requires: python3-pyserial
@@ -542,7 +542,7 @@ The word `minor` can be replaced with `patch` or `major`, depending on the type
%prep
-%autosetup -n pynetworkd3-0.0.9
+%autosetup -n PyNetworkD3-0.0.9
%build
%py3_build
@@ -556,20 +556,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 .
@@ -582,5 +582,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 0.0.9-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 0.0.9-1
- Package Spec generated