summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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