diff --git python-tablib/python-tablib.spec python-tablib/python-tablib.spec.tmp index bd502e992e..d3e678ec1f 100644 --- python-tablib/python-tablib.spec +++ python-tablib/python-tablib.spec.tmp @@ -6,7 +6,7 @@ Name: python-tablib Version: 0.11.5 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Format agnostic tabular data library (XLS, JSON, YAML, CSV) License: MIT @@ -16,19 +16,27 @@ BuildArch: noarch BuildRequires: python2-devel BuildRequires: python-setuptools -Requires: PyYAML -%description -Tablib is a format-agnostic tabular dataset library, written in Python. +%global _description\ +Tablib is a format-agnostic tabular dataset library, written in Python.\ +\ +Output formats supported:\ +\ + - Excel (Sets + Books)\ + - JSON (Sets + Books)\ + - YAML (Sets + Books)\ + - HTML (Sets)\ + - TSV (Sets)\ + - CSV (Sets) -Output formats supported: +%description %_description - - Excel (Sets + Books) - - JSON (Sets + Books) - - YAML (Sets + Books) - - HTML (Sets) - - TSV (Sets) - - CSV (Sets) +%package -n python2-tablib +Summary: %summary +Requires: PyYAML +%{?python_provide:%python_provide python2-tablib} + +%description -n python2-tablib %_description %if 0%{?with_python3} %package -n python3-tablib @@ -96,7 +104,7 @@ popd %{__python2} setup.py install -O1 --skip-build --root=%{buildroot} -%files +%files -n python2-tablib %license LICENSE %doc README.rst AUTHORS %{python2_sitelib}/%{modname} @@ -112,6 +120,10 @@ popd %changelog +* Tue Aug 08 2017 Zbigniew Jędrzejewski-Szmek - 0.11.5-3 +- Python 2 binary package renamed to python2-tablib + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.11.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild