diff --git a/python-sure.spec b/python-sure.spec index 6bed737..79a8ffa 100644 --- a/python-sure.spec +++ b/python-sure.spec @@ -18,12 +18,10 @@ %endif %global pypi_name sure -%global sum Utility belt for automated testing in Python - Name: %{?scl_prefix}python-%{pypi_name} Version: 1.4.10 Release: 1%{?dist} -Summary: %{sum} +Summary: Utility belt for automated testing in Python License: GPLv3+ URL: https://github.com/gabrielfalcao/sure @@ -50,7 +48,7 @@ A testing library for Python with powerful and flexible assertions. Sure is heavily inspired by should.js. %package -n python2-%{pypi_name} -Summary: %{sum} 2 +Summary: %{summary} 2 %{?python_provide:%python_provide python2-%{pypi_name}} %description -n python2-%{pypi_name} @@ -59,7 +57,7 @@ heavily inspired by should.js. %if 0%{?with_python3} %package -n python3-%{pypi_name} -Summary: %{sum} 3 +Summary: %{summary} 3 %{?python_provide:%python_provide python3-%{pypi_name}} Requires: %{?scl_prefix}python3-six @@ -117,6 +115,7 @@ rm -rf %{pypi_name}.egg-info - Updated to 1.4.10 that supports Python 3.7 (#1578530) - Stop py3dir pushd/popd, it is not needed - Removed an unneeded shebeng sed +- Drop %%sum macro, use %%summary * Fri Feb 09 2018 Fedora Release Engineering - 1.4.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild