Wolfgang Bauer 2019-04-12 11:34:34 +00:00 committed by Git OBS Bridge
parent 1d13da1162
commit 7b40b6a717

View File

@ -43,21 +43,26 @@ BuildRequires: pkgconfig(Qt5Svg)
BuildRequires: pkgconfig(Qt5Widgets) BuildRequires: pkgconfig(Qt5Widgets)
Obsoletes: %{name}5 < %{version} Obsoletes: %{name}5 < %{version}
Provides: %{name}5 = %{version} Provides: %{name}5 = %{version}
%if %{with lang}
Recommends: %{name}-lang Recommends: %{name}-lang
%if 0%{?suse_version} < 1500
# the default gcc 4.8 is too old
BuildRequires: gcc7-c++
%endif %endif
%description %description
Mathematical function plotter by KDE. Mathematical function plotter by KDE.
%if %{with lang}
%lang_package %lang_package
%endif
%prep %prep
%setup -q %setup -q
%build %build
%if 0%{?suse_version} < 1500
# the default gcc 4.8 is too old
export CC=gcc-7
export CXX=g++-7
%endif
%ifarch ppc ppc64 %ifarch ppc ppc64
export RPM_OPT_FLAGS="%{optflags} -mminimal-toc" export RPM_OPT_FLAGS="%{optflags} -mminimal-toc"
%endif %endif