diff options
author | CoprDistGit <infra@openeuler.org> | 2023-06-09 06:26:45 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-06-09 06:26:45 +0000 |
commit | 2e81f4f2465b754e4c5ab649a91bc7d68a981d3b (patch) | |
tree | 60f7cc1c563db0125786f9e76bba21d6efe9f444 | |
parent | 04ddd5d69ed5fe4decb6d35c76a8426785d63cbf (diff) |
automatic import of python-torchprofopeneuler20.03
-rw-r--r-- | python-torchprof.spec | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/python-torchprof.spec b/python-torchprof.spec index 1351a27..5b2aa23 100644 --- a/python-torchprof.spec +++ b/python-torchprof.spec @@ -5,7 +5,7 @@ Release: 1 Summary: Measure neural network device specific metrics (latency, flops, etc.) License: MIT URL: https://github.com/awwong1/torchprof -Source0: https://mirrors.nju.edu.cn/pypi/web/packages/c7/e8/12242da108d5435d22a58416c8b98b45a4130ab9a4802b6f03287aa553aa/torchprof-1.4.0.tar.gz +Source0: https://mirrors.aliyun.com/pypi/web/packages/c7/e8/12242da108d5435d22a58416c8b98b45a4130ab9a4802b6f03287aa553aa/torchprof-1.4.0.tar.gz BuildArch: noarch Requires: python3-torch @@ -121,20 +121,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 . @@ -147,5 +147,5 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog -* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 1.4.0-1 +* Fri Jun 09 2023 Python_Bot <Python_Bot@openeuler.org> - 1.4.0-1 - Package Spec generated |