SHA256
1
0
forked from pool/texstudio
2018-01-06 17:49:04 +00:00
committed by Git OBS Bridge
2 changed files with 28 additions and 6 deletions

View File

@@ -1,3 +1,15 @@
-------------------------------------------------------------------
Thu Jan 4 15:35:35 UTC 2018 - stefan.bruens@rwth-aachen.de
- Unbreak build on Leap 42.x, make_jobs is only provided by macros.qt5
-------------------------------------------------------------------
Wed Jan 3 13:37:25 UTC 2018 - stefan.bruens@rwth-aachen.de
- Disable crash handler on aarch64/armv6l/armv7l, aarch64 is
not implemented and armv6l/armv7l is broken
- use %qmake5 macro to supply CXXFLAGS and also CFLAGS
-------------------------------------------------------------------
Tue Aug 22 19:25:53 UTC 2017 - dmitry_r@opensuse.org

View File

@@ -1,7 +1,7 @@
#
# spec file for package texstudio
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -53,13 +53,23 @@ syntax highlighting, automatically code completion and more.
%setup -q -n %{name}%{version}
%build
%if 0%{?suse_version} <= 1320
qmake QMAKE_CXXFLAGS="%optflags -fno-strict-aliasing" CONFIG-=debug texstudio.pro
%else
qmake-qt5 QMAKE_CXXFLAGS="%optflags -fno-strict-aliasing" CONFIG-=debug texstudio.pro
%ifarch aarch64 %{arm}
%define crashhandler NO_CRASH_HANDLER=true
%endif
make %{?_smp_mflags}
%if 0%{?suse_version} <= 1320
qmake QMAKE_CXXFLAGS="%optflags -fno-strict-aliasing" \
QMAKE_CFLAGS="%optflags -fno-strict-aliasing" \
CONFIG-=debug texstudio.pro
%else
%{qmake5} CONFIG-=debug %{?crashhandler} texstudio.pro
%endif
%if 0%{?suse_version} <= 1320
make %{?_smp_mflags} VERBOSE=1
%else
%{make_jobs}
%endif
%install
make INSTALL_ROOT=%{buildroot} install