diff --git python-cdb/python-cdb.spec python-cdb/python-cdb.spec.tmp index 732bbf336b..8d0b90386d 100644 --- python-cdb/python-cdb.spec +++ python-cdb/python-cdb.spec.tmp @@ -5,7 +5,7 @@ } Name: python-cdb Version: 0.34 -Release: 15%{?dist} +Release: 16%{?dist} Summary: Constant database library adapted as a python extension module Group: Development/Libraries @@ -18,11 +18,19 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: python2-devel python-setuptools -%description -D. J. Bernstein's constant database library adapted as a python -extension module. Like GDBM and kin, cdb files map keys to values. +%global _description\ +D. J. Bernstein's constant database library adapted as a python\ +extension module. Like GDBM and kin, cdb files map keys to values.\ The file format boasts wickedly fast lookups and atomic updates. +%description %_description + +%package -n python2-cdb +Summary: %summary +%{?python_provide:%python_provide python2-cdb} + +%description -n python2-cdb %_description + %prep %setup -q %patch0 -p0 @@ -38,7 +46,7 @@ rm -rf $RPM_BUILD_ROOT -%files +%files -n python2-cdb %defattr(-,root,root,-) %doc README Example COPYING %{python_sitearch}/cdbmodule.so @@ -47,6 +55,10 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.34-16 +- Python 2 binary package renamed to python2-cdb + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Aug 03 2017 Fedora Release Engineering - 0.34-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild