diff --git python-carddav/python-carddav.spec python-carddav/python-carddav.spec.tmp index 1bce9b3a54..b6ab2c24e4 100644 --- python-carddav/python-carddav.spec +++ python-carddav/python-carddav.spec.tmp @@ -3,7 +3,7 @@ Name: python-carddav Version: 0.7.0 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Python CardDAV client compatible with mutt License: MIT @@ -15,16 +15,24 @@ Patch0: %{name}-remove-shebangs.patch BuildArch: noarch BuildRequires: python2-devel BuildRequires: python-setuptools + +%global _description\ +Python library and front-end for syncing CardDAV\ + + +%description %_description + +%package -n python2-carddav +Summary: %summary Requires: python-vobject Requires: python-urwid Requires: python-requests Requires: python-lxml Requires: pyxdg Requires: python-dateutil +%{?python_provide:%python_provide python2-carddav} -%description -Python library and front-end for syncing CardDAV - +%description -n python2-carddav %_description %prep %setup -q -n pyCardDAV-%{version} @@ -40,7 +48,7 @@ cp -p %{SOURCE1} README.fedora %{__python} setup.py install -O1 --skip-build --root %{buildroot} -%files +%files -n python2-carddav %doc README.rst README.fedora pycard.conf.sample %{python_sitelib}/* %{_bindir}/pc_query @@ -49,6 +57,10 @@ cp -p %{SOURCE1} README.fedora %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.7.0-8 +- Python 2 binary package renamed to python2-carddav + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.7.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild