summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-08 18:35:48 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-08 18:35:48 +0000
commit10895cdf7d38e59584a96b2c3b6c4618fcf10f55 (patch)
tree56c96dc68bd6262a240eb03823c96673a5fd9bb9
parentc1b1aa0ff89423bd675aaa1b51748ddad86afd7a (diff)
automatic import of python-planet-toolsopeneuler20.03
-rw-r--r--python-planet-tools.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/python-planet-tools.spec b/python-planet-tools.spec
index d635059..120a270 100644
--- a/python-planet-tools.spec
+++ b/python-planet-tools.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: Package with useful functions for exoplanetary research
License: MIT License
URL: https://github.com/tundeakins/Planet_tools
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/de/48/cef87894d1d689d89985e4778da339eca7894cf7897b2671efcd967dc983/Planet_tools-0.4.0.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/de/48/cef87894d1d689d89985e4778da339eca7894cf7897b2671efcd967dc983/Planet_tools-0.4.0.tar.gz
BuildArch: noarch
Requires: python3-pytest
@@ -215,7 +215,7 @@ The **some_stats** module contains the following functions:
%prep
-%autosetup -n Planet-tools-0.4.0
+%autosetup -n Planet_tools-0.4.0
%build
%py3_build
@@ -229,20 +229,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 .
@@ -255,5 +255,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 0.4.0-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 0.4.0-1
- Package Spec generated