summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-25 07:31:19 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-25 07:31:19 +0000
commit630ddf48ca5fa0380e34152efdc9ddc523296a12 (patch)
tree05bf30198d51c329fc909de9e4276c479f46c215
parentc605c97f82701937385576c9a5667ace8ed0fc87 (diff)
automatic import of python-CCColUtilsopeneuler20.03
-rw-r--r--python-cccolutils.spec9
1 files changed, 5 insertions, 4 deletions
diff --git a/python-cccolutils.spec b/python-cccolutils.spec
index 0a142d1..8a1b7b7 100644
--- a/python-cccolutils.spec
+++ b/python-cccolutils.spec
@@ -36,16 +36,16 @@ 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 -maxdepth 1 -mindepth 1 -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 -maxdepth 1 -mindepth 1 -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 -maxdepth 1 -mindepth 1 -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 -maxdepth 1 -mindepth 1 -printf "/%h/%f\n" >> filelist.lst
+ find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
fi
popd
mv %{buildroot}/filelist.lst .
@@ -54,6 +54,7 @@ mv %{buildroot}/filelist.lst .
%{__python3} setup.py test
%files -n python3-CCColUtils -f filelist.lst
+%dir %{python3_sitearch}/*
%changelog
* Sat Mar 25 2023 lichaoran <pkwarcraft@hotmail.com> - 1.5-2