diff options
author | CoprDistGit <infra@openeuler.org> | 2023-06-09 08:29:04 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-06-09 08:29:04 +0000 |
commit | 957fc2546283328289119d19d616c36c03d2f50a (patch) | |
tree | d9cba186bd77f8dd11e323f67317b6e8db932e8b | |
parent | 0231996abe0ade55061b4dd3151b552599a4bdb9 (diff) |
automatic import of python-pyusb-libusb1-backendopeneuler20.03
-rw-r--r-- | python-pyusb-libusb1-backend.spec | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/python-pyusb-libusb1-backend.spec b/python-pyusb-libusb1-backend.spec index 7716ff0..8a763f4 100644 --- a/python-pyusb-libusb1-backend.spec +++ b/python-pyusb-libusb1-backend.spec @@ -5,7 +5,7 @@ Release: 1 Summary: Portable pyusb libusb1 backend. License: GNU General Public License v2 or later (GPLv2+) URL: https://github.com/morinted/pyusb_libusb1_backend -Source0: https://mirrors.nju.edu.cn/pypi/web/packages/bb/cc/0ce92acee709f7504ad94bd5ddb67d4c858c82e9ae8c46e8e9e2171a966c/pyusb_libusb1_backend-0.0.1.tar.gz +Source0: https://mirrors.aliyun.com/pypi/web/packages/bb/cc/0ce92acee709f7504ad94bd5ddb67d4c858c82e9ae8c46e8e9e2171a966c/pyusb_libusb1_backend-0.0.1.tar.gz Requires: python3-pyusb @@ -46,7 +46,7 @@ Provides a portable libusb backend in a wheel for use with [pyusb](https://githu %prep -%autosetup -n pyusb-libusb1-backend-0.0.1 +%autosetup -n pyusb_libusb1_backend-0.0.1 %build %py3_build @@ -60,20 +60,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 . @@ -86,5 +86,5 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog -* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 0.0.1-1 +* Fri Jun 09 2023 Python_Bot <Python_Bot@openeuler.org> - 0.0.1-1 - Package Spec generated |