summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-08 03:15:16 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-08 03:15:16 +0000
commitd408ed8ece05a3ae9c7a432a5416676704034826 (patch)
tree7952183706a482f30d9a51e7feb2844b49b4fce3
parent92f79b9b7d89e1f59aaa40193308539e3ced2e77 (diff)
automatic import of python-lib-platformopeneuler20.03
-rw-r--r--python-lib-platform.spec14
1 files changed, 7 insertions, 7 deletions
diff --git a/python-lib-platform.spec b/python-lib-platform.spec
index 5eeef3c..f20108a 100644
--- a/python-lib-platform.spec
+++ b/python-lib-platform.spec
@@ -37,7 +37,7 @@ Version v1.2.7 as of 2020-10-09 see `Changelog`_
|codecov| |better_code| |cc_maintain| |cc_issues| |cc_coverage| |snyk|
%prep
-%autosetup -n lib-platform-1.2.7
+%autosetup -n lib_platform-1.2.7
%build
%py3_build
@@ -51,20 +51,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 .
@@ -77,5 +77,5 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
-* Tue May 30 2023 Python_Bot <Python_Bot@openeuler.org> - 1.2.7-1
+* Thu Jun 08 2023 Python_Bot <Python_Bot@openeuler.org> - 1.2.7-1
- Package Spec generated