simplify summary handling
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
54b4917e4e
commit
584fbb6384
@ -1,5 +1,4 @@
|
|||||||
%global srcname hypothesis
|
%global srcname hypothesis
|
||||||
%global sum A library for property based testing
|
|
||||||
|
|
||||||
%bcond_without python2
|
%bcond_without python2
|
||||||
%bcond_without python3
|
%bcond_without python3
|
||||||
@ -8,7 +7,7 @@
|
|||||||
Name: python-%{srcname}
|
Name: python-%{srcname}
|
||||||
Version: 3.12.0
|
Version: 3.12.0
|
||||||
Release: 4%{?dist}
|
Release: 4%{?dist}
|
||||||
Summary: %{sum}
|
Summary: Library for property based testing
|
||||||
|
|
||||||
License: MPLv2.0
|
License: MPLv2.0
|
||||||
URL: https://github.com/HypothesisWorks/hypothesis-python
|
URL: https://github.com/HypothesisWorks/hypothesis-python
|
||||||
@ -43,7 +42,7 @@ flow.
|
|||||||
|
|
||||||
%if %{with python2}
|
%if %{with python2}
|
||||||
%package -n python2-%{srcname}
|
%package -n python2-%{srcname}
|
||||||
Summary: A library for property based testing
|
Summary: %{summary}
|
||||||
Obsoletes: python-%{srcname} < 1.11.1-1
|
Obsoletes: python-%{srcname} < 1.11.1-1
|
||||||
Requires: python-enum34
|
Requires: python-enum34
|
||||||
|
|
||||||
@ -65,7 +64,7 @@ flow.
|
|||||||
|
|
||||||
%if %{with python3}
|
%if %{with python3}
|
||||||
%package -n python%{python3_pkgversion}-%{srcname}
|
%package -n python%{python3_pkgversion}-%{srcname}
|
||||||
Summary: A library for property based testing
|
Summary: %{summary}
|
||||||
%{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}}
|
%{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}}
|
||||||
%if 0%{?fedora}
|
%if 0%{?fedora}
|
||||||
Suggests: python%{python3_pkgversion}-numpy
|
Suggests: python%{python3_pkgversion}-numpy
|
||||||
@ -83,7 +82,7 @@ flow.
|
|||||||
|
|
||||||
%if %{with platform_python}
|
%if %{with platform_python}
|
||||||
%package -n platform-python-%{srcname}
|
%package -n platform-python-%{srcname}
|
||||||
Summary: A library for property based testing
|
Summary: %{summary}
|
||||||
|
|
||||||
%description -n platform-python-%{srcname}
|
%description -n platform-python-%{srcname}
|
||||||
Hypothesis is a library for testing your Python code against a much
|
Hypothesis is a library for testing your Python code against a much
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user