summaryrefslogtreecommitdiff
path: root/python-ms-cv.spec
diff options
context:
space:
mode:
Diffstat (limited to 'python-ms-cv.spec')
-rw-r--r--python-ms-cv.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/python-ms-cv.spec b/python-ms-cv.spec
index 9143fa3..9395eb1 100644
--- a/python-ms-cv.spec
+++ b/python-ms-cv.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: A correlation vector implementation in python
License: MIT
URL: https://github.com/OpenXbox/ms_cv
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/1c/e0/581b746c4b26aa0fac038fc300c6ec8b70c2a2837860bb08c4307cba9673/ms_cv-0.1.1.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/1c/e0/581b746c4b26aa0fac038fc300c6ec8b70c2a2837860bb08c4307cba9673/ms_cv-0.1.1.tar.gz
BuildArch: noarch
@@ -157,7 +157,7 @@ Based on the implementation by Microsoft:
<https://github.com/Microsoft/Telemetry-Client-for-Android/blob/master/AndroidCll/src/main/java/com/microsoft/cll/android/CorrelationVector.java>
%prep
-%autosetup -n ms-cv-0.1.1
+%autosetup -n ms_cv-0.1.1
%build
%py3_build
@@ -171,20 +171,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 .
@@ -197,5 +197,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 0.1.1-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 0.1.1-1
- Package Spec generated