Accepting request 794799 from home:scarabeus_iv:branches:devel:libraries:c_c++
- Fix build without python2 available by generating the py2 depending packages only when needed OBS-URL: https://build.opensuse.org/request/show/794799 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/boost-defaults?expand=0&rev=6
This commit is contained in:
parent
afcc45b963
commit
22faf86d1a
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Apr 17 07:58:34 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
- Fix build without python2 available by generating the py2
|
||||||
|
depending packages only when needed
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Aug 5 16:14:10 UTC 2019 - Adam Majer <adam.majer@suse.de>
|
Mon Aug 5 16:14:10 UTC 2019 - Adam Majer <adam.majer@suse.de>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package boost-defaults
|
# spec file for package boost-defaults
|
||||||
#
|
#
|
||||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2020 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -16,6 +16,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%bcond_without python2
|
||||||
Name: boost-defaults
|
Name: boost-defaults
|
||||||
Version: 1.71.0
|
Version: 1.71.0
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -23,7 +24,7 @@ Release: 0
|
|||||||
Summary: Default Boost C++ Libraries
|
Summary: Default Boost C++ Libraries
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Url: http://www.boost.org
|
URL: http://www.boost.org
|
||||||
Source1: README
|
Source1: README
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
@ -513,11 +514,15 @@ cp %{SOURCE1} .
|
|||||||
%files -n libboost_graph_parallel-devel
|
%files -n libboost_graph_parallel-devel
|
||||||
%doc README
|
%doc README
|
||||||
|
|
||||||
|
%if %{with python2}
|
||||||
%files -n libboost_mpi_python-devel
|
%files -n libboost_mpi_python-devel
|
||||||
%doc README
|
%doc README
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%if %{with python2}
|
||||||
%files -n python-boost_parallel_mpi
|
%files -n python-boost_parallel_mpi
|
||||||
%doc README
|
%doc README
|
||||||
|
%endif
|
||||||
|
|
||||||
%files -n libboost_mpi_python3-devel
|
%files -n libboost_mpi_python3-devel
|
||||||
%doc README
|
%doc README
|
||||||
@ -531,11 +536,15 @@ cp %{SOURCE1} .
|
|||||||
%files -n libboost_program_options-devel
|
%files -n libboost_program_options-devel
|
||||||
%doc README
|
%doc README
|
||||||
|
|
||||||
|
%if %{with python2}
|
||||||
%files -n libboost_python-devel
|
%files -n libboost_python-devel
|
||||||
%doc README
|
%doc README
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%if %{with python2}
|
||||||
%files -n libboost_numpy-devel
|
%files -n libboost_numpy-devel
|
||||||
%doc README
|
%doc README
|
||||||
|
%endif
|
||||||
|
|
||||||
%files -n libboost_python3-devel
|
%files -n libboost_python3-devel
|
||||||
%doc README
|
%doc README
|
||||||
|
Loading…
x
Reference in New Issue
Block a user