summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-09 05:26:25 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-09 05:26:25 +0000
commit9e7ea5a1141473d81864cae3a3061681556f6e10 (patch)
treeb189b1ab3d7a1344431edd83358cc597ec4b66d7
parent2342a2533504c382e23372855cfd6725c368987f (diff)
automatic import of python-memory-allocatoropeneuler20.03
-rw-r--r--python-memory-allocator.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/python-memory-allocator.spec b/python-memory-allocator.spec
index 8a16aa2..da91d3b 100644
--- a/python-memory-allocator.spec
+++ b/python-memory-allocator.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: An extension class to allocate memory easily with cython
License: GPLv3
URL: https://github.com/sagemath/memory_allocator
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/b0/10/368adbcb611c2d1c018f0dc5f4643414f8678a5b9a14f42f44f78c74a56a/memory_allocator-0.1.3.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/b0/10/368adbcb611c2d1c018f0dc5f4643414f8678a5b9a14f42f44f78c74a56a/memory_allocator-0.1.3.tar.gz
Requires: python3-Cython
@@ -127,7 +127,7 @@ On failure to allocate the memory, a proper error is raised.
%prep
-%autosetup -n memory-allocator-0.1.3
+%autosetup -n memory_allocator-0.1.3
%build
%py3_build
@@ -141,20 +141,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 .
@@ -167,5 +167,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 0.1.3-1
+* Fri Jun 09 2023 Python_Bot <Python_Bot@openeuler.org> - 0.1.3-1
- Package Spec generated