diff options
author | CoprDistGit <infra@openeuler.org> | 2023-06-09 08:12:47 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-06-09 08:12:47 +0000 |
commit | aee4870c58f68984de1311a2e8da955e23f9b518 (patch) | |
tree | 34381fadd8ccb80f7df7304ff8aa1c8925d0ec47 | |
parent | da3f04e6f60a55b8adc0e13f5a84659fb7318e89 (diff) |
automatic import of python-btf-extractoropeneuler20.03
-rw-r--r-- | python-btf-extractor.spec | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/python-btf-extractor.spec b/python-btf-extractor.spec index a8fc5bf..1fb2503 100644 --- a/python-btf-extractor.spec +++ b/python-btf-extractor.spec @@ -5,7 +5,7 @@ Release: 1 Summary: Extract UBO BTF archive format(UBO2003, ATRIUM, UBO2014). License: Zlib URL: https://github.com/2-propanol/btf_extractor -Source0: https://mirrors.nju.edu.cn/pypi/web/packages/77/d5/00f1a2151a63a6fc16a5cbdd1715d95f67ce1f442ccfde2b93d4e1b5c4ac/btf_extractor-1.7.0.tar.gz +Source0: https://mirrors.aliyun.com/pypi/web/packages/77/d5/00f1a2151a63a6fc16a5cbdd1715d95f67ce1f442ccfde2b93d4e1b5c4ac/btf_extractor-1.7.0.tar.gz BuildArch: noarch Requires: python3-numpy @@ -270,7 +270,7 @@ float32 %prep -%autosetup -n btf-extractor-1.7.0 +%autosetup -n btf_extractor-1.7.0 %build %py3_build @@ -284,20 +284,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 . @@ -310,5 +310,5 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog -* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 1.7.0-1 +* Fri Jun 09 2023 Python_Bot <Python_Bot@openeuler.org> - 1.7.0-1 - Package Spec generated |