summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-08 06:38:23 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-08 06:38:23 +0000
commit89c16b478a6626e2e5443bd7c4efc717bc2a9f7e (patch)
treea7a04e4c176122be3bf6950078af624242848b68
parent94074f733dc3b68de3bb218a58f3c1d3e3eec97f (diff)
automatic import of python-classy-visionopeneuler20.03
-rw-r--r--python-classy-vision.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/python-classy-vision.spec b/python-classy-vision.spec
index d4a3200..56d0a0d 100644
--- a/python-classy-vision.spec
+++ b/python-classy-vision.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: An end-to-end PyTorch framework for image and video classification.
License: MIT License
URL: https://classyvision.ai
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/32/70/b4c0a6404e0def2c10fb81ff338d98c6c3fdbe35419238418807605f3ea2/classy_vision-0.7.0.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/32/70/b4c0a6404e0def2c10fb81ff338d98c6c3fdbe35419238418807605f3ea2/classy_vision-0.7.0.tar.gz
BuildArch: noarch
Requires: python3-fvcore
@@ -595,7 +595,7 @@ If you use Classy Vision in your work, please use the following BibTeX entry:
%prep
-%autosetup -n classy-vision-0.7.0
+%autosetup -n classy_vision-0.7.0
%build
%py3_build
@@ -609,20 +609,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 .
@@ -635,5 +635,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 0.7.0-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 0.7.0-1
- Package Spec generated