diff --git a/boost.changes b/boost.changes index ae3a5b7..663440d 100644 --- a/boost.changes +++ b/boost.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Sep 12 12:17:23 UTC 2018 - aeszter@gwdg.de + +- Fix build on Leap < 15.0 + ------------------------------------------------------------------- Fri Aug 10 12:48:51 UTC 2018 - adam.majer@suse.de diff --git a/boost.spec b/boost.spec index 60e94db..37114e9 100644 --- a/boost.spec +++ b/boost.spec @@ -26,6 +26,9 @@ %bcond_without build_quickbook %bcond_with boost_devel %define my_docdir %{_docdir}/boost-%{version} +%if 0%{?suse_version} < 1500 + %define python2_sitearch %python_sitearch +%endif %if "@BUILD_FLAVOR@" == "base" %define build_base 1 @@ -128,7 +131,11 @@ BuildRequires: dos2unix %if %{with python2} BuildRequires: python2-devel %if %{with python_numpy} +%if 0%{?suse_version} >= 1500 BuildRequires: python2-numpy-devel +%else +BuildRequires: python-numpy-devel +%endif %endif # numpy2 %endif # python2 %if %{with python3}