summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-09 08:01:46 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-09 08:01:46 +0000
commit02fffdeeb63379667187bee11e85e9c82b5e8cea (patch)
treeba55b50964295e1811165098caa77106a2bf2f97
parentaab22fd2d3dd7a9b993e22d6f1e2a3996085d710 (diff)
automatic import of python-link-traitsopeneuler20.03
-rw-r--r--python-link-traits.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/python-link-traits.spec b/python-link-traits.spec
index 56c7df9..cf09af5 100644
--- a/python-link-traits.spec
+++ b/python-link-traits.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: A fork to traitlets' link and dlink to link traits in addition to traitlets.
License: BSD-3-Clause
URL: https://github.com/hyperspy/link_traits
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/03/17/eb40ed2030e2c6dad5050216e124d5d1c9512bc1085353c83111599c2ee6/link_traits-1.0.3.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/03/17/eb40ed2030e2c6dad5050216e124d5d1c9512bc1085353c83111599c2ee6/link_traits-1.0.3.tar.gz
BuildArch: noarch
@@ -232,7 +232,7 @@ please contribute it to [traitlets](https://github.com/ipython/traitlets/)
first.
%prep
-%autosetup -n link-traits-1.0.3
+%autosetup -n link_traits-1.0.3
%build
%py3_build
@@ -246,20 +246,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 .
@@ -272,5 +272,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 1.0.3-1
+* Fri Jun 09 2023 Python_Bot <Python_Bot@openeuler.org> - 1.0.3-1
- Package Spec generated