diff --git python-dslib/python-dslib.spec python-dslib/python-dslib.spec.tmp index 51edeb4b48..64612e483e 100644 --- python-dslib/python-dslib.spec +++ python-dslib/python-dslib.spec.tmp @@ -1,6 +1,6 @@ Name: python-dslib Version: 3.1 -Release: 6%{?dist} +Release: 7%{?dist} Summary: A Python library for accessing Czech Databox (Datové schránky) Group: Development/Libraries License: LGPLv2+ @@ -8,12 +8,20 @@ URL: http://labs.nic.cz/datove-schranky/ Source0: http://www.nic.cz/public_media/datove_schranky/releases/src/dslib-%{version}.tar.gz BuildArch: noarch BuildRequires: python-setuptools -Requires: pyOpenSSL, python-pyasn1, python-sudsds -%description -dslib is a Python library for accessing a 'Databox' - an electronic +%global _description\ +dslib is a Python library for accessing a 'Databox' - an electronic\ communication interface endorsed by the Czech government. +%description %_description + +%package -n python2-dslib +Summary: %summary +Requires: pyOpenSSL, python-pyasn1, python-sudsds +%{?python_provide:%python_provide python2-dslib} + +%description -n python2-dslib %_description + %prep %setup -q -n dslib-%{version} @@ -26,12 +34,16 @@ CFLAGS="%{optflags}" %{__python} setup.py build # Remove wrongly installed documents, they will be correctly installed later rm -f %{buildroot}%{_datadir}/dslib/{README,LICENSE.txt} -%files +%files -n python2-dslib %doc LICENSE.txt README.txt %{python_sitelib}/* %{_datadir}/dslib %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 3.1-7 +- Python 2 binary package renamed to python2-dslib + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 3.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild