summaryrefslogtreecommitdiff
path: root/python-lib-list.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-08 06:47:51 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-08 06:47:51 +0000
commitc9d13d1f521328ea7b0936d4204f51e2caf75f35 (patch)
tree50af76eb9fec460dec40f6c5348a1c44f8bd6c76 /python-lib-list.spec
parentb6e5913bca42732709658b67c090b6d797693dfa (diff)
automatic import of python-lib-listopeneuler20.03
Diffstat (limited to 'python-lib-list.spec')
-rw-r--r--python-lib-list.spec16
1 files changed, 8 insertions, 8 deletions
diff --git a/python-lib-list.spec b/python-lib-list.spec
index f98564b..e2fd409 100644
--- a/python-lib-list.spec
+++ b/python-lib-list.spec
@@ -5,7 +5,7 @@ Release: 1
Summary: some convenience functions for lists
License: MIT License
URL: https://github.com/bitranox/lib_list
-Source0: https://mirrors.nju.edu.cn/pypi/web/packages/d8/77/acff39ce01751490a8a1c40ff43f501ca1081a7c8f9fe08d71e9af868a0e/lib_list-1.1.6.tar.gz
+Source0: https://mirrors.aliyun.com/pypi/web/packages/d8/77/acff39ce01751490a8a1c40ff43f501ca1081a7c8f9fe08d71e9af868a0e/lib_list-1.1.6.tar.gz
BuildArch: noarch
Requires: python3-click
@@ -36,7 +36,7 @@ Version v1.1.6 as of 2022-06-03 see `Changelog`_
|codecov| |better_code| |cc_maintain| |cc_issues| |cc_coverage| |snyk|
%prep
-%autosetup -n lib-list-1.1.6
+%autosetup -n lib_list-1.1.6
%build
%py3_build
@@ -50,20 +50,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 .
@@ -76,5 +76,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 1.1.6-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 1.1.6-1
- Package Spec generated