diff --git a/python-freezegun.spec b/python-freezegun.spec index 955e1b3..ea55c6a 100644 --- a/python-freezegun.spec +++ b/python-freezegun.spec @@ -9,11 +9,12 @@ %endif %global modname freezegun +%global sum Let your Python tests travel through time Name: python-freezegun Version: 0.3.8 -Release: 2%{?dist} -Summary: Let your Python tests travel through time +Release: 3%{?dist} +Summary: %{sum} Group: Development/Libraries License: ASL 2.0 @@ -43,24 +44,37 @@ BuildRequires: python3-coverage BuildRequires: python3-mock %endif +%description +freezegun is a library that allows your python tests to travel through time by +mocking the datetime module. + + +%package -n python2-freezegun +Summary: %{sum} +Group: Development/Libraries +%{?python_provide:%python_provide python2-freezegun} + +# EL packages don't provide python2-foo Requires: python-six Requires: python-dateutil -%description -python-freezegun is a library that allows your python tests to travel through -time by mocking the datetime module. +%description -n python2-freezegun +freezegun is a library that allows your python tests to travel through time by +mocking the datetime module. This is the Python 2 library. + %if 0%{?with_python3} %package -n python3-freezegun -Summary: Let your Python tests travel through time +Summary: %{sum} Group: Development/Libraries +%{?python_provide:%python_provide python3-freezegun} Requires: python3-six Requires: python3-dateutil %description -n python3-freezegun -python3-freezegun is a library that allows your python tests to travel through -time by mocking the datetime module. +freezegun is a library that allows your python tests to travel through time by +mocking the datetime module. This is the Python 3 library. %endif %prep @@ -111,6 +125,10 @@ nosetests-%{python2_version} tests/ %endif %changelog +* Wed Dec 21 2016 Adam Williamson - 0.3.8-3 +- Rebuild with Python 3.6 again (now python-sure is built) +- rename Python 2 package to python2-freezegun + * Mon Dec 19 2016 Miro HronĨok - 0.3.8-2 - Rebuild for Python 3.6