diff --git python-monotonic/python-monotonic.spec python-monotonic/python-monotonic.spec.tmp index 434377ee85..262432c69d 100644 --- python-monotonic/python-monotonic.spec +++ python-monotonic/python-monotonic.spec.tmp @@ -6,7 +6,7 @@ Name: python-%{pypi_name} Version: 1.2 -Release: 6%{?dist} +Release: 7%{?dist} Summary: An implementation of time.monotonic() for Python 2 & < 3.3 # Missing license file from source package @@ -20,16 +20,24 @@ BuildRequires: python2-devel BuildRequires: python-setuptools -%description -This module provides a ``monotonic()`` function which -returns the -value (in fractional seconds) of a clock which never goes -backwards. +%global _description\ +This module provides a ``monotonic()`` function which\ +returns the\ +value (in fractional seconds) of a clock which never goes\ +backwards.\ +\ +On Python 3.3 or newer, ``monotonic`` will be an alias of\ +``time.monotonic`` from the standard library. On older versions,\ +it will fall back to an equivalent platform specific implementation.\ -On Python 3.3 or newer, ``monotonic`` will be an alias of -``time.monotonic`` from the standard library. On older versions, -it will fall back to an equivalent platform specific implementation. +%description %_description + +%package -n python2-%{pypi_name} +Summary: %summary +%{?python_provide:%python_provide python2-%{pypi_name}} + +%description -n python2-%{pypi_name} %_description %if 0%{?with_python3} %package -n python3-%{pypi_name} @@ -70,7 +78,7 @@ it will fall back to an equivalent platform specific implementation. %endif -%files +%files -n python2-%{pypi_name} %license LICENSE %{python2_sitelib}/%{pypi_name}.py* %{python2_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info @@ -84,6 +92,10 @@ it will fall back to an equivalent platform specific implementation. %endif %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 1.2-7 +- Python 2 binary package renamed to python2-monotonic + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 1.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild