diff options
Diffstat (limited to 'python-cccolutils.spec')
-rw-r--r-- | python-cccolutils.spec | 9 |
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 |