mirror of
https://abf.rosa.ru/djam/dbeaver.git
synced 2025-02-23 00:03:04 +00:00
This commit is contained in:
parent
425b263efe
commit
17c60ac86d
1 changed files with 10 additions and 6 deletions
16
dbeaver.spec
16
dbeaver.spec
|
@ -133,12 +133,16 @@ popd
|
||||||
# -prune \
|
# -prune \
|
||||||
# -o -exec rm -rf {} \;
|
# -o -exec rm -rf {} \;
|
||||||
|
|
||||||
find '%{buildroot}%{_datadir}/dbeaver/plugins/com.sun.jna_[0-9.]*-v[0-9]*-com/sun/jna/' \
|
#find '%{buildroot}%{_datadir}/dbeaver/plugins/com.sun.jna_[0-9.]*-v[0-9]*-com/sun/jna/' \
|
||||||
-type f -name "*.so" -not \
|
# -type f -name "*.so" -not \
|
||||||
-path "*linux-*" -o \
|
# -path "*linux-*" -o \
|
||||||
-path "internal" -o \
|
# -path "internal" -o \
|
||||||
-path "ptr" \
|
# -path "ptr" \
|
||||||
-delete
|
# -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue