summaryrefslogtreecommitdiff
path: root/python-pysat.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-08 14:22:08 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-08 14:22:08 +0000
commit3e8e7c48432c2d1248f5fea0411bdf7ff954fda6 (patch)
tree96a02cd03d0758aa8d537812fff3483b25f61250 /python-pysat.spec
parent4c84a9b10182030617f40a8a331b8e9f7f154365 (diff)
automatic import of python-pysatopeneuler20.03
Diffstat (limited to 'python-pysat.spec')
-rw-r--r--python-pysat.spec24
1 files changed, 15 insertions, 9 deletions
diff --git a/python-pysat.spec b/python-pysat.spec
index 33188c4..2d429af 100644
--- a/python-pysat.spec
+++ b/python-pysat.spec
@@ -1,11 +1,11 @@
%global _empty_manifest_terminate_build 0
Name: python-pysat
-Version: 3.0.6
+Version: 3.1.0
Release: 1
Summary: 'Supports science analysis across disparate data platforms'
License: BSD License
URL: https://github.com/pysat/pysat
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/3c/c8/8bb01d050632832fb9477056da59ff6d25b3fcce67d77c1260ff56eaebd3/pysat-3.0.6.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/9b/38/aaa2715fafab4c69dc19ccb6f95cd88461b03ef22f9a165e5b623d338fd9/pysat-3.1.0.tar.gz
BuildArch: noarch
@@ -107,6 +107,8 @@ pysat.params['data_dirs'] = 'path/to/directory/that/may/or/may/not/exist'
* Nominal organization of data is top_dir/platform/name/tag/inst_id/files
+
+
%package -n python3-pysat
Summary: 'Supports science analysis across disparate data platforms'
Provides: python-pysat
@@ -211,6 +213,8 @@ pysat.params['data_dirs'] = 'path/to/directory/that/may/or/may/not/exist'
* Nominal organization of data is top_dir/platform/name/tag/inst_id/files
+
+
%package help
Summary: Development documents and examples for pysat
Provides: python3-pysat-doc
@@ -312,8 +316,10 @@ pysat.params['data_dirs'] = 'path/to/directory/that/may/or/may/not/exist'
* Nominal organization of data is top_dir/platform/name/tag/inst_id/files
+
+
%prep
-%autosetup -n pysat-3.0.6
+%autosetup -n pysat-3.1.0
%build
%py3_build
@@ -327,20 +333,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 .
@@ -353,5 +359,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 3.0.6-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 3.1.0-1
- Package Spec generated