mirror of
https://abf.rosa.ru/djam/dbeaver.git
synced 2025-02-23 08:13:02 +00:00
exclude arch x86
This commit is contained in:
parent
82ee0dd62a
commit
a47b47191f
1 changed files with 7 additions and 6 deletions
13
dbeaver.spec
13
dbeaver.spec
|
@ -11,6 +11,7 @@ Source0: %{name}-%{version}.tar.gz
|
|||
Source100: %{name}.rpmlintrc
|
||||
Group: Development/Databases
|
||||
License: ASL 2.0
|
||||
ExcludeArch: x86 i386 i486 i586 i686
|
||||
BuildRequires: maven >= 3
|
||||
BuildRequires: java-devel >= 1.8
|
||||
|
||||
|
@ -42,15 +43,15 @@ install -d %{buildroot}%{_datadir}
|
|||
install -d %{buildroot}%{_datadir}/applications
|
||||
install -d %{buildroot}%{_iconsdir}/hicolor/{16x16,24x24,32x32}/apps
|
||||
|
||||
%ifarch x86_64
|
||||
#ifarch x86_64
|
||||
pushd product/standalone/target/products/org.jkiss.dbeaver.core.product/linux/gtk/x86_64
|
||||
cp -a %{name} %{buildroot}%{_datadir}
|
||||
popd
|
||||
%else
|
||||
pushd product/standalone/target/products/org.jkiss.dbeaver.core.product/linux/gtk/x86
|
||||
cp -a %{name} %{buildroot}%{_datadir}
|
||||
popd
|
||||
%endif
|
||||
#else
|
||||
#pushd product/standalone/target/products/org.jkiss.dbeaver.core.product/linux/gtk/x86
|
||||
#cp -a %{name} %{buildroot}%{_datadir}
|
||||
#popd
|
||||
#endif
|
||||
|
||||
#start script
|
||||
cat > %{buildroot}%{_bindir}/%{name} <<EOF
|
||||
|
|
Loading…
Add table
Reference in a new issue