mirror of
https://abf.rosa.ru/djam/dbeaver.git
synced 2025-02-23 00:03:04 +00:00
Compare commits
2 commits
08e603096e
...
17c60ac86d
Author | SHA1 | Date | |
---|---|---|---|
![]() |
17c60ac86d | ||
![]() |
425b263efe |
1 changed files with 10 additions and 1 deletions
11
dbeaver.spec
11
dbeaver.spec
|
@ -133,7 +133,16 @@ popd
|
|||
# -prune \
|
||||
# -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
|
||||
|
|
Loading…
Add table
Reference in a new issue