diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-06-08 13:13:36 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-06-08 13:13:36 +0000 |
| commit | 215de00889bf14baed907141722debefcff3d3a5 (patch) | |
| tree | 5979a758ba9bd6ff281220186757bc3a754204b0 /python-seg-metrics.spec | |
| parent | c25598317406dba13ff28da583552eab8283d541 (diff) | |
automatic import of python-seg-metricsopeneuler20.03
Diffstat (limited to 'python-seg-metrics.spec')
| -rw-r--r-- | python-seg-metrics.spec | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/python-seg-metrics.spec b/python-seg-metrics.spec index c74576d..4c14787 100644 --- a/python-seg-metrics.spec +++ b/python-seg-metrics.spec @@ -5,7 +5,7 @@ Release: 1 Summary: A package to compute different segmentation metrics for 2D/3D medical images. License: MIT License URL: https://github.com/Ordgod/segmentation_metrics -Source0: https://mirrors.nju.edu.cn/pypi/web/packages/e2/2a/609b24ca37b73776253bb8e5a120d0f5efa41f6a030e23d889fe9554729a/seg_metrics-1.1.3.tar.gz +Source0: https://mirrors.aliyun.com/pypi/web/packages/e2/2a/609b24ca37b73776253bb8e5a120d0f5efa41f6a030e23d889fe9554729a/seg_metrics-1.1.3.tar.gz BuildArch: noarch Requires: python3-pandas @@ -733,7 +733,7 @@ I would also appreciate it if you cite the package in your publication. (**Note: %prep -%autosetup -n seg-metrics-1.1.3 +%autosetup -n seg_metrics-1.1.3 %build %py3_build @@ -747,20 +747,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 . @@ -773,5 +773,5 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog -* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 1.1.3-1 +* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 1.1.3-1 - Package Spec generated |
