diff --git python-xcffib/python-xcffib.spec python-xcffib/python-xcffib.spec.tmp index 134df057ea..95a9da26b4 100644 --- python-xcffib/python-xcffib.spec +++ python-xcffib/python-xcffib.spec.tmp @@ -5,7 +5,7 @@ Summary: A drop in replacement for xpyb, an XCB python binding Name: python-xcffib Version: 0.5.1 -Release: 2%{?dist} +Release: 3%{?dist} Source0: https://pypi.org/packages/source/x/xcffib/xcffib-%{version}.tar.gz License: ASL 2.0 URL: https://github.com/tych0/xcffib @@ -26,16 +26,23 @@ BuildRequires: python3-cffi >= 1.1.2 BuildRequires: python3-six %endif -Requires: python-six -Requires: python-cffi >= 1.1.2 +%global _description\ +xcffib is intended to be a (mostly) drop-in replacement for xpyb. xpyb\ +has an inactive upstream, several memory leaks, is python2 only and doesn't\ +have pypy support. xcffib is a binding which uses cffi, which mitigates\ +some of the issues described above. xcffib also builds bindings for 27 of\ +the 29 (xprint and xkb are missing) X extensions in 1.10. + +%description %_description + +%package -n python2-xcffib +Summary: %summary Requires: libxcb +Requires: python-cffi >= 1.1.2 +Requires: python-six +%{?python_provide:%python_provide python2-xcffib} -%description -xcffib is intended to be a (mostly) drop-in replacement for xpyb. xpyb -has an inactive upstream, several memory leaks, is python2 only and doesn't -have pypy support. xcffib is a binding which uses cffi, which mitigates -some of the issues described above. xcffib also builds bindings for 27 of -the 29 (xprint and xkb are missing) X extensions in 1.10. +%description -n python2-xcffib %_description %if 0%{?with_python3} %package -n python3-xcffib @@ -75,7 +82,7 @@ cp -a . %{py3dir} %endif # with_python3 -%files +%files -n python2-xcffib %doc LICENSE %doc README.md %{python2_sitelib}/xcffib @@ -91,6 +98,10 @@ cp -a . %{py3dir} %changelog +* Tue Aug 08 2017 Zbigniew Jędrzejewski-Szmek - 0.5.1-3 +- Python 2 binary package renamed to python2-xcffib + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.5.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild