From 8b497a1b5dcf335906fa5b88c84a80b7107de8c10720ff79e1dda076983bd8e2 Mon Sep 17 00:00:00 2001 From: Atri Bhattacharya Date: Sat, 5 Feb 2022 16:03:33 +0000 Subject: [PATCH] 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 --- python-PyCBC.changes | 8 ++++++++ python-PyCBC.spec | 5 +++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/python-PyCBC.changes b/python-PyCBC.changes index 38dfa10..54596b2 100644 --- a/python-PyCBC.changes +++ b/python-PyCBC.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Sat Feb 5 11:50:20 UTC 2022 - Atri Bhattacharya + +- 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. + ------------------------------------------------------------------- Thu Jan 20 12:36:02 UTC 2022 - Atri Bhattacharya diff --git a/python-PyCBC.spec b/python-PyCBC.spec index eac034a..0589843 100644 --- a/python-PyCBC.spec +++ b/python-PyCBC.spec @@ -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