mirror of
https://abf.rosa.ru/djam/dbeaver.git
synced 2025-02-22 15:53:06 +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 \
|
||||
# -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
|
||||
|
|
Loading…
Add table
Reference in a new issue