summaryrefslogtreecommitdiff
path: root/python-a3cosmos-gas-evolution.spec
diff options
context:
space:
mode:
Diffstat (limited to 'python-a3cosmos-gas-evolution.spec')
-rw-r--r--python-a3cosmos-gas-evolution.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/python-a3cosmos-gas-evolution.spec b/python-a3cosmos-gas-evolution.spec
index eea20d7..f99947f 100644
--- a/python-a3cosmos-gas-evolution.spec
+++ b/python-a3cosmos-gas-evolution.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: A Python Package for Galaxy Cold Molecular Gas and Star Formation Evolution Equations.
License: BSD License
URL: https://sites.google.com/view/a3cosmos
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/82/b2/fdc2abac6d63eda39806e5b41dcb8cfd59b5cf99189f89dd0d287065c1f7/a3cosmos_gas_evolution-1.1.1.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/82/b2/fdc2abac6d63eda39806e5b41dcb8cfd59b5cf99189f89dd0d287065c1f7/a3cosmos_gas_evolution-1.1.1.tar.gz
BuildArch: noarch
Requires: python3-numpy
@@ -48,7 +48,7 @@ However, currently there are many parametrizations (or we say "equations") in th
Therefore, we provide this Python package which contains as many galaxy gas, dust, star formation and stellar mass evolution equations as possible for easier comparison and study.
%prep
-%autosetup -n a3cosmos-gas-evolution-1.1.1
+%autosetup -n a3cosmos_gas_evolution-1.1.1
%build
%py3_build
@@ -62,20 +62,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 .
@@ -88,5 +88,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 1.1.1-1
+* Fri Jun 09 2023 Python_Bot <Python_Bot@openeuler.org> - 1.1.1-1
- Package Spec generated