diff --git python-xpyb/python-xpyb.spec python-xpyb/python-xpyb.spec.tmp index fb0980a36c..dafaef4324 100644 --- python-xpyb/python-xpyb.spec +++ python-xpyb/python-xpyb.spec.tmp @@ -1,6 +1,6 @@ Name: python-xpyb Version: 1.3.1 -Release: 9%{?dist} +Release: 10%{?dist} Summary: Python bindings to XCB License: Public Domain URL: http://xcb.freedesktop.org @@ -9,16 +9,24 @@ BuildRequires: xcb-proto BuildRequires: libxcb-devel BuildRequires: python2-devel -%description -The Python binding for XCB allows the X protocol to be accessed directly from -Python. There are two components: - -- A Python extension written in C. This exposes XCB-specific objects and - library functions, as well as providing various base classes used by the - generated code. -- Python modules which are generated directly from the XCB-XML protocol +%global _description\ +The Python binding for XCB allows the X protocol to be accessed directly from\ +Python. There are two components:\ +\ +- A Python extension written in C. This exposes XCB-specific objects and\ + library functions, as well as providing various base classes used by the\ + generated code.\ +- Python modules which are generated directly from the XCB-XML protocol\ descriptions. +%description %_description + +%package -n python2-xpyb +Summary: %summary +%{?python_provide:%python_provide python2-xpyb} + +%description -n python2-xpyb %_description + %package devel Summary: Devel files of xpyb Requires: %{name}%{?_isa} = %{version}-%{release} @@ -45,7 +53,7 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';' # Delete INSTALL doc find %{buildroot} -name 'INSTALL' -exec rm -f {} ';' -%files +%files -n python2-xpyb %{python_sitearch}/xcb/ %{_docdir}/xpyb/ @@ -54,6 +62,10 @@ find %{buildroot} -name 'INSTALL' -exec rm -f {} ';' %{_includedir}/*.h %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 1.3.1-10 +- Python 2 binary package renamed to python2-xpyb + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Aug 03 2017 Fedora Release Engineering - 1.3.1-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild