Compare commits

...

2 commits

Author SHA1 Message Date
Your Name
17c60ac86d 24.3.5
Some checks failed
Run CI/CD... / main (push) Failing after 19m55s
2025-02-19 23:31:21 +00:00
Your Name
425b263efe 24.3.5 2025-02-19 22:49:35 +00:00

View file

@ -133,7 +133,16 @@ popd
# -prune \ # -prune \
# -o -exec rm -rf {} \; # -o -exec rm -rf {} \;
find %{buildroot}%{_datadir}/dbeaver/plugins/ -type f -name "*.so" -not -path "*linux-%{_arch}*" -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 %files