diff --git python-pathlib/python-pathlib.spec python-pathlib/python-pathlib.spec.tmp index 8d64a20bb2..0b2f2f4ff6 100644 --- python-pathlib/python-pathlib.spec +++ python-pathlib/python-pathlib.spec.tmp @@ -2,7 +2,7 @@ Name: python-%{pypi_name} Version: 1.0.1 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Object-oriented filesystem paths License: MIT @@ -14,18 +14,26 @@ BuildRequires: python2-devel BuildRequires: python-sphinx -%description -pathlib offers a set of classes to handle filesystem paths. It offers the -following advantages over using string objects: +%global _description\ +pathlib offers a set of classes to handle filesystem paths. It offers the\ +following advantages over using string objects:\ +\ +* No more cumbersome use of os and os.path functions. Everything can be\ + done easily through operators, attribute accesses, and method calls.\ +* Embodies the semantics of different path types. For example, comparing\ + Windows paths ignores casing.\ +* Well-defined semantics, eliminating any warts or ambiguities (forward vs.\ + backward slashes, etc.).\ +\ +It's part of Python 3.4+ standard library. -* No more cumbersome use of os and os.path functions. Everything can be - done easily through operators, attribute accesses, and method calls. -* Embodies the semantics of different path types. For example, comparing - Windows paths ignores casing. -* Well-defined semantics, eliminating any warts or ambiguities (forward vs. - backward slashes, etc.). +%description %_description -It's part of Python 3.4+ standard library. +%package -n python2-%{pypi_name} +Summary: %summary +%{?python_provide:%python_provide python2-%{pypi_name}} + +%description -n python2-%{pypi_name} %_description %prep %setup -q -n %{pypi_name}-%{version} @@ -45,13 +53,17 @@ rm -rf html/.{doctrees,buildinfo} -%files +%files -n python2-%{pypi_name} %doc html README.txt %license LICENSE.txt %{python2_sitelib}/%{pypi_name}.py* %{python2_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 1.0.1-6 +- Python 2 binary package renamed to python2-pathlib + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 1.0.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild