diff --git pyatspi/pyatspi.spec pyatspi/pyatspi.spec.tmp index 3a0a56c1c9..2a5b209106 100644 --- pyatspi/pyatspi.spec +++ pyatspi/pyatspi.spec.tmp @@ -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.\ + + +%description %_description -This package includes a python2 client library for at-spi. +%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 12 2017 Zbigniew Jędrzejewski-Szmek - 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 - 2.25.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild