exclude arch x86

This commit is contained in:
User 2019-07-05 20:16:45 +03:00
parent 82ee0dd62a
commit a47b47191f

View file

@ -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