summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-08 15:45:55 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-08 15:45:55 +0000
commit451e6b04ff1ddbed5a4c08393b192002ee7d47c4 (patch)
tree7a2020882483e23d6c5b3237493cdac961de4e6e
parentddd34b1832543e416d2d0590c46d54305e2cb8de (diff)
automatic import of python-torch-pitch-shiftopeneuler20.03
-rw-r--r--python-torch-pitch-shift.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/python-torch-pitch-shift.spec b/python-torch-pitch-shift.spec
index 6e76307..51278dc 100644
--- a/python-torch-pitch-shift.spec
+++ b/python-torch-pitch-shift.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: please add a summary manually as the author left a blank one
License: MIT License
URL: https://github.com/KentoNishi/torch-pitch-shift
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/01/13/771250fc721f387cb4dab3dc17b9167d6df1b87f7161dcff90337293fe5d/torch_pitch_shift-1.2.4.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/01/13/771250fc721f387cb4dab3dc17b9167d6df1b87f7161dcff90337293fe5d/torch_pitch_shift-1.2.4.tar.gz
BuildArch: noarch
Requires: python3-torch
@@ -143,7 +143,7 @@ Please feel free to submit issues or pull requests!
%prep
-%autosetup -n torch-pitch-shift-1.2.4
+%autosetup -n torch_pitch_shift-1.2.4
%build
%py3_build
@@ -157,20 +157,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 .
@@ -183,5 +183,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 1.2.4-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 1.2.4-1
- Package Spec generated