diff --git dogtail/dogtail.spec dogtail/dogtail.spec.tmp index c10069af52..a0905f3374 100644 --- dogtail/dogtail.spec +++ dogtail/dogtail.spec.tmp @@ -5,7 +5,7 @@ Summary: GUI test tool and automation framework Name: dogtail Version: 0.9.9 -Release: 6%{?dist} +Release: 7%{?dist} License: GPLv2 URL: http://dogtail.fedorahosted.org/ Source0: http://fedorahosted.org/released/dogtail/%{name}-%{version}.tar.gz @@ -14,6 +14,15 @@ BuildArch: noarch BuildRequires: python2-devel BuildRequires: python-setuptools BuildRequires: desktop-file-utils + +%global _description\ +GUI test tool and automation framework that uses assistive technologies to\ +communicate with desktop applications. + +%description %_description + +%package -n python2-dogtail +Summary: %summary Requires: pyatspi Requires: pygobject3 Requires: pycairo @@ -21,10 +30,12 @@ Requires: rpm-python Requires: xorg-x11-xinit Requires: python-imaging Requires: hicolor-icon-theme +%{?python_provide:%python_provide python2-dogtail} +# Remove before F30 +Provides: dogtail%{?_isa} = %{version}-%{release} +Obsoletes: dogtail < %{version}-%{release} -%description -GUI test tool and automation framework that uses assistive technologies to -communicate with desktop applications. +%description -n python2-dogtail %_description %if 0%{?with_python3} %package -n python3-dogtail @@ -89,7 +100,7 @@ fi %posttrans /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : -%files -n dogtail +%files -n python2-dogtail %{_bindir}/* %{python2_sitelib}/dogtail/ %{_datadir}/applications/* @@ -114,6 +125,10 @@ fi %endif # with_python3 %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.9.9-7 +- Python 2 binary package renamed to python2-dogtail + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Wed Jul 26 2017 Fedora Release Engineering - 0.9.9-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild