diff --git a/.files b/.files
index d2fc9db..4173392 100644
Binary files a/.files and b/.files differ
diff --git a/.rev b/.rev
index 38ead87..47fdec1 100644
--- a/.rev
+++ b/.rev
@@ -23,4 +23,12 @@
1
394547
+
+ 88cdce8d25770dac18ac56b4c5f8201d
+ 0.9.11
+
+ dimstar_suse
+
+ 802684
+
diff --git a/dogtail-0.9.0.tar.gz b/dogtail-0.9.0.tar.gz
deleted file mode 120000
index e79b4a4..0000000
--- a/dogtail-0.9.0.tar.gz
+++ /dev/null
@@ -1 +0,0 @@
-/ipfs/bafkreicwjwxf7ospuot7nvjvapqio7nnk2xixtqq4ga5huwaxw7qmp2ogy
\ No newline at end of file
diff --git a/dogtail-0.9.11.tar.gz b/dogtail-0.9.11.tar.gz
new file mode 120000
index 0000000..84b6f81
--- /dev/null
+++ b/dogtail-0.9.11.tar.gz
@@ -0,0 +1 @@
+/ipfs/bafkreieadik3da4rnx223lovam4oql3wijvvwwmeo7jnyxrclcy44rzdnm
\ No newline at end of file
diff --git a/dogtail-wnck-3.0.patch b/dogtail-wnck-3.0.patch
deleted file mode 100644
index 4beeef0..0000000
--- a/dogtail-wnck-3.0.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-Index: dogtail-0.9.0/dogtail/tree.py
-===================================================================
---- dogtail-0.9.0.orig/dogtail/tree.py
-+++ dogtail-0.9.0/dogtail/tree.py
-@@ -84,6 +84,8 @@ except ImportError: # pragma: no cover
-
- # We optionally import the bindings for libWnck.
- try:
-+ import gi
-+ gi.require_version('Wnck', '3.0')
- from gi.repository import Wnck
- gotWnck = True # pragma: no cover
- except ImportError:
diff --git a/dogtail.changes b/dogtail.changes
index a06d035..94ce481 100644
--- a/dogtail.changes
+++ b/dogtail.changes
@@ -1,4 +1,20 @@
-------------------------------------------------------------------
+Fri May 8 03:00:36 UTC 2020 - Michael Gorse
+
+- Update to version 0.9.11:
+ + There has been a good deal of fixes and improvements since last
+ year's release. We're not really ready for 1.0 yet, which is
+ why we release this important cumulative release as 0.9.10. We
+ have also moved our homesite to gitlab (fedoraproject has been
+ discontinued). For the list of changes, simply go to:
+ https://gitlab.com/dogtail/dogtail/commits/master
+- Drop dogtail-wnck-3.0.patch: fixed upstream.
+- Update Url.
+- Adjust %build and BuildRequires to use python 3.
+- Require python3-setuptools.
+- Run spec through spec-cleaner.
+
+-------------------------------------------------------------------
Sun May 8 17:12:59 UTC 2016 - badshah400@gmail.com
- Add Requires: python-gobject-Gdk, since this was split out of
diff --git a/dogtail.spec b/dogtail.spec
index 917e5b6..37b878e 100644
--- a/dogtail.spec
+++ b/dogtail.spec
@@ -1,7 +1,7 @@
#
# spec file for package dogtail
#
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,35 +12,34 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: dogtail
-Version: 0.9.0
+Version: 0.9.11
Release: 0
Summary: GUI test tool and automation framework
-License: GPL-2.0
-Url: http://dogtail.fedorahosted.org/
-Source0: http://fedorahosted.org/released/dogtail/%{name}-%{version}.tar.gz
-# PATCH-FIX-UPSTREAM dogtail-wnck-3.0.patch fcrozat@suse.com -- ensure Wnck 3.0 typelib is required
-Patch0: dogtail-wnck-3.0.patch
+License: GPL-2.0-only
+URL: https://gitlab.com/dogtail/dogtail/
+Source0: https://gitlab.com/dogtail/dogtail/raw/released/%{name}-%{version}.tar.gz
BuildRequires: desktop-file-utils
BuildRequires: gobject-introspection
BuildRequires: hicolor-icon-theme
-BuildRequires: python-devel
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
BuildRequires: update-desktop-files
Requires: hicolor-icon-theme
-Requires: python-atspi
-Requires: python-cairo
-Requires: python-gobject
-Requires: python-imaging
-Requires: rpm-python
+Requires: python3-atspi
+Requires: python3-cairo
+Requires: python3-gobject
+Requires: python3-imaging
+Requires: python3-rpm
Requires: xinit
+BuildArch: noarch
%if 0%{?suse_version} > 1320 || 0%{?sle_version} >= 120200
-Requires: python-gobject-Gdk
+Requires: python3-gobject-Gdk
%endif
-BuildArch: noarch
%description
GUI test tool and automation framework that uses assistive technologies to
@@ -48,15 +47,14 @@ communicate with desktop applications.
%prep
%setup -q
-%patch0 -p1
%build
-python ./setup.py build
+python3 ./setup.py build
%install
-python ./setup.py install -O2 --root=%{buildroot} --record=%{name}.files
+python3 ./setup.py install -O2 --root=%{buildroot} --record=%{name}.files
rm -rf %{buildroot}/%{_docdir}/dogtail
-rm -f %{buildroot}/%{python_sitelib}/%{name}-%{version}-py%{python_version}.egg-info
+rm -rf %{buildroot}/%{python_sitelib}/%{name}-%{version}-py%{python_version}.egg-info
find examples -type f -exec chmod 0644 \{\} \;
desktop-file-install %{buildroot}/%{_datadir}/applications/sniff.desktop \
--dir=%{buildroot}/%{_datadir}/applications \
@@ -69,13 +67,12 @@ desktop-file-install %{buildroot}/%{_datadir}/applications/sniff.desktop \
%icon_theme_cache_postun
%files
-%defattr(-,root,root)
%{_bindir}/*
-%{python_sitelib}/dogtail/
+%{python3_sitelib}/dogtail/
%{_datadir}/applications/*
%{_datadir}/dogtail/
%{_datadir}/icons/hicolor/*/apps/%{name}*.*
-%doc COPYING
+%license COPYING
%doc README
%doc NEWS
%doc %{_datadir}/doc/dogtail