diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-06-09 03:00:13 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-06-09 03:00:13 +0000 |
| commit | 28644cbbdaaee52d9842c8d73121fd2870292607 (patch) | |
| tree | 85096605f29120798c8efc1b9019bf46d8723242 | |
| parent | 59de7bd5c85d520c6243ac46111edb68ed2d0cd4 (diff) | |
automatic import of python-spectrum-plotteropeneuler20.03
| -rw-r--r-- | python-spectrum-plotter.spec | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/python-spectrum-plotter.spec b/python-spectrum-plotter.spec index 1e7bc25..1267c88 100644 --- a/python-spectrum-plotter.spec +++ b/python-spectrum-plotter.spec @@ -5,7 +5,7 @@ Release: 1 Summary: A Python package for creating publication quality plots for neutron / photon / particle spectrum License: MIT License URL: https://github.com/fusion-energy/spectrum_plotter -Source0: https://mirrors.nju.edu.cn/pypi/web/packages/53/d5/945440dd126ae10bfe6b7c618b31bcd24a54b1dfac92ca14b4b2953d014d/spectrum_plotter-0.2.3.tar.gz +Source0: https://mirrors.aliyun.com/pypi/web/packages/53/d5/945440dd126ae10bfe6b7c618b31bcd24a54b1dfac92ca14b4b2953d014d/spectrum_plotter-0.2.3.tar.gz BuildArch: noarch Requires: python3-numpy @@ -110,7 +110,7 @@ There are two main functions for plotting spectrum: %prep -%autosetup -n spectrum-plotter-0.2.3 +%autosetup -n spectrum_plotter-0.2.3 %build %py3_build @@ -124,20 +124,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 . @@ -150,5 +150,5 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog -* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 0.2.3-1 +* Fri Jun 09 2023 Python_Bot <Python_Bot@openeuler.org> - 0.2.3-1 - Package Spec generated |
