mirror of
https://abf.rosa.ru/djam/dbeaver.git
synced 2025-02-23 08:13:02 +00:00
Compare commits
No commits in common. "17c60ac86d4eccdff2ae06914b9f7905457ba431" and "08e603096e5b975b7b914af9297b149cac559629" have entirely different histories.
17c60ac86d
...
08e603096e
1 changed files with 1 additions and 10 deletions
11
dbeaver.spec
11
dbeaver.spec
|
@ -133,16 +133,7 @@ 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/ \
|
||||
-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" \;
|
||||
find %{buildroot}%{_datadir}/dbeaver/plugins/ -type f -name "*.so" -not -path "*linux-%{_arch}*" -delete
|
||||
|
||||
|
||||
%files
|
||||
|
|
Loading…
Add table
Reference in a new issue