diff --git python-raven/python-raven.spec python-raven/python-raven.spec.tmp index 0bddae31aa..77f9e2e387 100644 --- python-raven/python-raven.spec +++ python-raven/python-raven.spec.tmp @@ -8,7 +8,7 @@ Name: python-raven Version: 6.0.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Python client for Sentry Group: Development/Libraries @@ -33,8 +33,6 @@ BuildRequires: python-setuptools #BuildRequires: python-requests #BuildRequires: python-pytest -Requires: python-contextlib2 - %if 0%{?with_python3} BuildRequires: python3-devel BuildRequires: python3-setuptools @@ -49,12 +47,21 @@ BuildRequires: python3-setuptools #BuildRequires: python3-pytest %endif # with_python3 -%description -Raven is a Python client for Sentry . It provides full -out-of-the-box support for many of the popular frameworks, including Django, -and Flask. Raven also includes drop-in support for any WSGI-compatible web +%global _description\ +Raven is a Python client for Sentry . It provides full\ +out-of-the-box support for many of the popular frameworks, including Django,\ +and Flask. Raven also includes drop-in support for any WSGI-compatible web\ application. +%description %_description + +%package -n python2-raven +Summary: %summary +Requires: python-contextlib2 +%{?python_provide:%python_provide python2-raven} + +%description -n python2-raven %_description + %if 0%{?with_python3} %package -n python3-raven Summary: Python client for Sentry @@ -106,7 +113,7 @@ popd #popd #%%endif -%files +%files -n python2-raven %doc README.rst %license LICENSE %{_bindir}/raven @@ -121,6 +128,10 @@ popd %endif # with_python3 %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 6.0.0-3 +- Python 2 binary package renamed to python2-raven + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 6.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild