summaryrefslogtreecommitdiff
path: root/python-dcase-util.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-09 05:40:41 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-09 05:40:41 +0000
commit411c275132072e87aa695185a1f28d9375569977 (patch)
tree4b11277e887f3bbdc3f23cec3b49e2b38aa2615b /python-dcase-util.spec
parenta303b217070838a6f2466f727b50ce9d388c3996 (diff)
automatic import of python-dcase-utilopeneuler20.03
Diffstat (limited to 'python-dcase-util.spec')
-rw-r--r--python-dcase-util.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/python-dcase-util.spec b/python-dcase-util.spec
index 26b1448..506e191 100644
--- a/python-dcase-util.spec
+++ b/python-dcase-util.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: A collection of utilities for Detection and Classification of Acoustic Scenes and Events
License: MIT
URL: https://github.com/DCASE-REPO/dcase_util
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/3f/a0/c8277b774a01df12179337f70ee004ddf0d4661e9c1e866628b3b3d1c4e4/dcase_util-0.2.20.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/3f/a0/c8277b774a01df12179337f70ee004ddf0d4661e9c1e866628b3b3d1c4e4/dcase_util-0.2.20.tar.gz
BuildArch: noarch
@@ -70,7 +70,7 @@ forms of other structured data, and provide standardized usage API to
audio datasets from various sources.
%prep
-%autosetup -n dcase-util-0.2.20
+%autosetup -n dcase_util-0.2.20
%build
%py3_build
@@ -84,20 +84,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 .
@@ -110,5 +110,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 0.2.20-1
+* Fri Jun 09 2023 Python_Bot <Python_Bot@openeuler.org> - 0.2.20-1
- Package Spec generated