diff --git python-isodate/python-isodate.spec python-isodate/python-isodate.spec.tmp index 5fe34a3f72..dc6dbc3b1c 100644 --- python-isodate/python-isodate.spec +++ python-isodate/python-isodate.spec.tmp @@ -7,7 +7,7 @@ Name: python-%{modulename} Version: 0.5.4 -Release: 6%{?dist} +Release: 7%{?dist} Summary: An ISO 8601 date/time/duration parser and formatter Group: Development/Languages License: BSD @@ -22,24 +22,32 @@ BuildRequires: python3-devel BuildRequires: python3-setuptools %endif # if with_python3 -%description -This module implements ISO 8601 date, time and duration parsing. The -implementation follows ISO8601:2004 standard, and implements only date/time -representations mentioned in the standard. If something is not mentioned there, -then it is treated as non existent, and not as an allowed option. +%global _description\ +This module implements ISO 8601 date, time and duration parsing. The\ +implementation follows ISO8601:2004 standard, and implements only date/time\ +representations mentioned in the standard. If something is not mentioned there,\ +then it is treated as non existent, and not as an allowed option.\ +\ +For instance, ISO8601:2004 never mentions 2 digit years. So, it is not intended\ +by this module to support 2 digit years. (while it may still be valid as ISO\ +date, because it is not explicitly forbidden.) Another example is, when no time\ +zone information is given for a time, then it should be interpreted as local\ +time, and not UTC.\ +\ +As this module maps ISO 8601 dates/times to standard Python data types, like\ +date, time, datetime and timedelta, it is not possible to convert all possible\ +ISO 8601 dates/times. For instance, dates before 0001-01-01 are not allowed by\ +the Python date and datetime classes. Additionally fractional seconds are\ +limited to microseconds. That means if the parser finds for instance\ +nanoseconds it will round it to microseconds. -For instance, ISO8601:2004 never mentions 2 digit years. So, it is not intended -by this module to support 2 digit years. (while it may still be valid as ISO -date, because it is not explicitly forbidden.) Another example is, when no time -zone information is given for a time, then it should be interpreted as local -time, and not UTC. +%description %_description -As this module maps ISO 8601 dates/times to standard Python data types, like -date, time, datetime and timedelta, it is not possible to convert all possible -ISO 8601 dates/times. For instance, dates before 0001-01-01 are not allowed by -the Python date and datetime classes. Additionally fractional seconds are -limited to microseconds. That means if the parser finds for instance -nanoseconds it will round it to microseconds. +%package -n python2-%{modulename} +Summary: %summary +%{?python_provide:%python_provide python2-%{modulename}} + +%description -n python2-%{modulename} %_description %if 0%{?with_python3} %package -n python3-%{modulename} @@ -115,7 +123,7 @@ popd %endif -%files +%files -n python2-%{modulename} %defattr(-,root,root,-) %doc CHANGES.txt README.rst TODO.txt %{python2_sitelib}/%{modulename}*.egg-info @@ -129,6 +137,10 @@ popd %endif %changelog +* Tue Aug 08 2017 Zbigniew Jędrzejewski-Szmek - 0.5.4-7 +- Python 2 binary package renamed to python2-isodate + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.5.4-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild