From 584fbb6384123d9ac3b976a099f26bf97eb402aa Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Thu, 2 Nov 2017 08:06:50 +0100 Subject: [PATCH] simplify summary handling Signed-off-by: Igor Gnatenko --- python-hypothesis.spec | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/python-hypothesis.spec b/python-hypothesis.spec index b00c318..35fbaa7 100644 --- a/python-hypothesis.spec +++ b/python-hypothesis.spec @@ -1,5 +1,4 @@ %global srcname hypothesis -%global sum A library for property based testing %bcond_without python2 %bcond_without python3 @@ -8,7 +7,7 @@ Name: python-%{srcname} Version: 3.12.0 Release: 4%{?dist} -Summary: %{sum} +Summary: Library for property based testing License: MPLv2.0 URL: https://github.com/HypothesisWorks/hypothesis-python @@ -43,7 +42,7 @@ flow. %if %{with python2} %package -n python2-%{srcname} -Summary: A library for property based testing +Summary: %{summary} Obsoletes: python-%{srcname} < 1.11.1-1 Requires: python-enum34 @@ -65,7 +64,7 @@ flow. %if %{with python3} %package -n python%{python3_pkgversion}-%{srcname} -Summary: A library for property based testing +Summary: %{summary} %{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}} %if 0%{?fedora} Suggests: python%{python3_pkgversion}-numpy @@ -83,7 +82,7 @@ flow. %if %{with platform_python} %package -n platform-python-%{srcname} -Summary: A library for property based testing +Summary: %{summary} %description -n platform-python-%{srcname} Hypothesis is a library for testing your Python code against a much