Accepting request 636892 from devel:libraries:c_c++

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/636892
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/boost?expand=0&rev=126
This commit is contained in:
Dominique Leuenberger 2018-10-01 07:03:34 +00:00 committed by Git OBS Bridge
commit 73278702de
2 changed files with 12 additions and 0 deletions

View File

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

View File

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