From a4a027a65cddfca21942b04bbffa00889504e302f132c2fef8a41e856a623d56 Mon Sep 17 00:00:00 2001 From: Benjamin Greiner Date: Wed, 9 Dec 2020 23:08:56 +0000 Subject: [PATCH] Accepting request 854362 from home:bnavigator:branches:devel:languages:python:numeric - OBS thinks the test flavor creates a build-cycle. Reintroduce the pseudo package suffix. OBS-URL: https://build.opensuse.org/request/show/854362 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-astropy?expand=0&rev=40 --- python-astropy.changes | 6 ++++++ python-astropy.spec | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/python-astropy.changes b/python-astropy.changes index e10513c..ffeae4a 100644 --- a/python-astropy.changes +++ b/python-astropy.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Dec 8 22:41:32 UTC 2020 - Benjamin Greiner + +- OBS thinks the test flavor creates a build-cycle. Reintroduce + the pseudo package suffix. + ------------------------------------------------------------------- Sat Nov 28 21:28:47 UTC 2020 - Benjamin Greiner diff --git a/python-astropy.spec b/python-astropy.spec index 88a7591..e24386f 100644 --- a/python-astropy.spec +++ b/python-astropy.spec @@ -19,8 +19,10 @@ %global flavor @BUILD_FLAVOR@%{nil} %if "%{flavor}" == "test" %bcond_without test +%define psuffix -test %else %bcond_with test +%define psuffix %{nil} %endif %define binaries fitsdiff fitsheader fitscheck fitsinfo fits2bitmap samp_hub showtable volint wcslint @@ -36,7 +38,7 @@ %define skip_python2 1 # upcoming python3 multiflavor: minimum supported python is 3.7 %define skip_python36 1 -Name: python-astropy +Name: python-astropy%{psuffix} Version: 4.2 Release: 0 Summary: Community-developed python astronomy tools