Accepting request 951741 from home:badshah400:branches:science

* Add Obsoletes: python-PyCBC <= 1.18.0 to PyCBC-utils package to avoid conflicts during updates.
* Disable builds for python <= 3.6 by requiring python-devel >= 3.7 in keeping with setup.py.

OBS-URL: https://build.opensuse.org/request/show/951741
OBS-URL: https://build.opensuse.org/package/show/science/python-PyCBC?expand=0&rev=23
This commit is contained in:
2022-02-05 16:03:33 +00:00
committed by Git OBS Bridge
parent 7623e246b6
commit 8b497a1b5d
2 changed files with 11 additions and 2 deletions

View File

@@ -30,7 +30,7 @@ License: GPL-3.0-or-later
URL: http://www.pycbc.org/
Source0: https://github.com/gwastro/pycbc/archive/v%{version}.tar.gz#/%{modname}-%{version}.tar.gz
BuildRequires: %{python_module Cython}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module devel >= 3.7}
BuildRequires: %{python_module numpy-devel}
BuildRequires: %{python_module numpy}
BuildRequires: %{python_module setuptools}
@@ -90,7 +90,8 @@ of detected sources.
%package -n %{modname}-utils
Summary: PyCBC utilities to analyze gravitational-wave data
Requires: python3-PyCBC
Requires: python3-PyCBC = %{version}
Obsoletes: python-%{modname} <= 1.18.0
%description -n %{modname}-utils
PyCBC is a software package used to explore astrophysical sources of