Python 2 binary package renamed to python2-pyatspi

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2017-08-19 09:39:12 -04:00
parent 3dc554d8bf
commit 7352e34fab

View File

@ -2,7 +2,7 @@
Name: pyatspi
Version: 2.25.3
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Python bindings for at-spi
Group: Development/Languages
@ -30,19 +30,29 @@ BuildRequires: python3-devel
BuildRequires: python3-dbus
%endif
Requires: at-spi2-core
Requires: pygobject3
BuildArch: noarch
%description
at-spi allows assistive technologies to access GTK-based
applications. Essentially it exposes the internals of applications for
automation, so tools such as screen readers, magnifiers, or even
scripting interfaces can query and interact with GUI controls.
%global _description\
at-spi allows assistive technologies to access GTK-based\
applications. Essentially it exposes the internals of applications for\
automation, so tools such as screen readers, magnifiers, or even\
scripting interfaces can query and interact with GUI controls.\
\
This package includes a python2 client library for at-spi.\
This package includes a python2 client library for at-spi.
%description %_description
%package -n python2-pyatspi
Summary: %summary
Requires: at-spi2-core
Requires: pygobject3
%{?python_provide:%python_provide python2-pyatspi}
# Remove before F30
Provides: pyatspi%{?_isa} = %{version}-%{release}
Obsoletes: pyatspi < %{version}-%{release}
%description -n python2-pyatspi %_description
%if !0%{?rhel}
%package -n python3-pyatspi
@ -101,7 +111,7 @@ sed -i '1s|^#!/usr/bin/python|#!%{__python3}|' python3-examples/magFocusTracker.
# Done by the 'build' step, with --enable-tests
%files
%files -n python2-pyatspi
%license COPYING COPYING.GPL
%doc AUTHORS README
%doc examples/magFocusTracker.py
@ -117,6 +127,10 @@ sed -i '1s|^#!/usr/bin/python|#!%{__python3}|' python3-examples/magFocusTracker.
%changelog
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.25.3-3
- Python 2 binary package renamed to python2-pyatspi
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.25.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild