24.3.5
Some checks failed
Run CI/CD... / main (push) Failing after 19m55s

This commit is contained in:
Your Name 2025-02-19 23:31:21 +00:00
parent 425b263efe
commit 17c60ac86d

View file

@ -133,12 +133,16 @@ 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/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" \;
%files