summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-09 07:21:21 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-09 07:21:21 +0000
commit6dc7725796c402ef93fe39126816aa432454f414 (patch)
tree9b1a39a5dca0c57598662e073f97778f19bcf536
parent4c300e5d43ce3be63ca714592f4edb3ef75318e7 (diff)
automatic import of python-spec2nexusopeneuler20.03
-rw-r--r--python-spec2nexus.spec14
1 files changed, 7 insertions, 7 deletions
diff --git a/python-spec2nexus.spec b/python-spec2nexus.spec
index baf2d7b..1632e7f 100644
--- a/python-spec2nexus.spec
+++ b/python-spec2nexus.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: Convert SPEC data files and scans into NeXus HDF5 files.
License: Creative Commons Attribution 4.0 International Public License (see LICENSE file)
URL: https://github.com/prjemian/spec2nexus
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/4f/9b/796ecc640977dbc6d35c68fc0c871230c12121f84d1c84aedf805e44eafa/spec2nexus-2021.2.6.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/4f/9b/796ecc640977dbc6d35c68fc0c871230c12121f84d1c84aedf805e44eafa/spec2nexus-2021.2.6.tar.gz
BuildArch: noarch
Requires: python3-lxml
@@ -89,20 +89,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 .
@@ -115,5 +115,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 2021.2.6-1
+* Fri Jun 09 2023 Python_Bot <Python_Bot@openeuler.org> - 2021.2.6-1
- Package Spec generated