summaryrefslogtreecommitdiff
path: root/pyporter.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-09-27 09:50:14 +0000
committerCoprDistGit <infra@openeuler.org>2023-09-27 09:50:14 +0000
commita66a4d640d791f09e8e42b780c13be50671a8063 (patch)
tree22c7a9ca2d5f150f1481e45e6585ba0522c82f97 /pyporter.spec
parent47619c3e4bd5f5fdb279a9c4351725217e11f4b0 (diff)
automatic import of pyporteropeneuler20.03
Diffstat (limited to 'pyporter.spec')
-rw-r--r--pyporter.spec3
1 files changed, 3 insertions, 0 deletions
diff --git a/pyporter.spec b/pyporter.spec
index c2acf3a..6569426 100644
--- a/pyporter.spec
+++ b/pyporter.spec
@@ -30,6 +30,9 @@ install -d -m755 %{buildroot}/%{_pkgdocdir}
pushd %{buildroot}
touch filelist.lst
+if [ -d usr/lib ]; then
+ 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
fi