Accepting request 635655 from home:aeszter:branches:devel:libraries:c_c++

- Fix build on Leap < 15.0

OBS-URL: https://build.opensuse.org/request/show/635655
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/boost?expand=0&rev=220
This commit is contained in:
Adam Majer 2018-09-14 07:53:51 +00:00 committed by Git OBS Bridge
parent bc55ed7b25
commit 071fe9ccce
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}