summaryrefslogtreecommitdiff
path: root/python-empymod.spec
diff options
context:
space:
mode:
Diffstat (limited to 'python-empymod.spec')
-rw-r--r--python-empymod.spec18
1 files changed, 9 insertions, 9 deletions
diff --git a/python-empymod.spec b/python-empymod.spec
index 62401de..4e7c108 100644
--- a/python-empymod.spec
+++ b/python-empymod.spec
@@ -1,11 +1,11 @@
%global _empty_manifest_terminate_build 0
Name: python-empymod
-Version: 2.2.1
+Version: 2.2.2
Release: 1
Summary: Open-source full 3D electromagnetic modeller for 1D VTI media
License: Apache-2.0
URL: https://emsig.xyz
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/2f/a9/64a182b5b302ca6b2f99866c8b67abec33b934fabe94b1097a3add28e6b4/empymod-2.2.1.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/ca/04/c80c394d368728cc0bf50ac98d45d25ca24adf3b0456f53d3845995f8074/empymod-2.2.2.tar.gz
BuildArch: noarch
Requires: python3-scipy
@@ -93,7 +93,7 @@ Available through ``conda`` and ``pip``; consult the `documentation
%prep
-%autosetup -n empymod-2.2.1
+%autosetup -n empymod-2.2.2
%build
%py3_build
@@ -107,20 +107,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 .
@@ -133,5 +133,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 2.2.1-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 2.2.2-1
- Package Spec generated