From 630ddf48ca5fa0380e34152efdc9ddc523296a12 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Sun, 25 Jun 2023 07:31:19 +0000 Subject: automatic import of python-CCColUtils --- python-cccolutils.spec | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'python-cccolutils.spec') 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 - 1.5-2 -- cgit v1.2.3