Compare commits

..

No commits in common. "17c60ac86d4eccdff2ae06914b9f7905457ba431" and "08e603096e5b975b7b914af9297b149cac559629" have entirely different histories.

View file

@ -133,16 +133,7 @@ popd
# -prune \
# -o -exec rm -rf {} \;
#find '%{buildroot}%{_datadir}/dbeaver/plugins/com.sun.jna_[0-9.]*-v[0-9]*-com/sun/jna/' \
# -type f -name "*.so" -not \
# -path "*linux-*" -o \
# -path "internal" -o \
# -path "ptr" \
# -delete
find %{buildroot}%{_datadir}/dbeaver/plugins/ \
-type d -path "*com.sun.jna_*" \
-exec sh -c "if [ -n \"\$(find {} -type f -name '*.so' -not -path '*linux-*' -o -path 'internal' -o -path 'ptr')\" ]; then rm -rf {}; fi" \;
find %{buildroot}%{_datadir}/dbeaver/plugins/ -type f -name "*.so" -not -path "*linux-%{_arch}*" -delete
%files