diff --git a/kmplot.spec b/kmplot.spec index fd83dfe..7858584 100644 --- a/kmplot.spec +++ b/kmplot.spec @@ -57,23 +57,18 @@ Mathematical function plotter by KDE. %setup -q %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 export RPM_OPT_FLAGS="%{optflags} -mminimal-toc" %endif - %cmake_kf5 -d build - %cmake_build +%cmake_kf5 -d build +%cmake_build %install - %kf5_makeinstall -C build - %if %{with lang} - %find_lang %{name} --with-man --all-name - %{kf5_find_htmldocs} - %endif +%kf5_makeinstall -C build +%if %{with lang} + %find_lang %{name} --with-man --all-name + %{kf5_find_htmldocs} +%endif %files %license COPYING*