diff --git a/GitPython-2.1.11.1531661757.92a4819.tar.xz b/GitPython-2.1.11.1531661757.92a4819.tar.xz
new file mode 100644
index 0000000..ee42dc2
--- /dev/null
+++ b/GitPython-2.1.11.1531661757.92a4819.tar.xz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:16131a0c8a9624f58288c2a09cba7b9ad467c884b536d15172cf38ff04416859
+size 10173064
diff --git a/GitPython-2.1.11.tar.gz b/GitPython-2.1.11.tar.gz
deleted file mode 100644
index 105ad2e..0000000
--- a/GitPython-2.1.11.tar.gz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:8237dc5bfd6f1366abeee5624111b9d6879393d84745a507de0fda86043b65a8
-size 428531
diff --git a/_service b/_service
index 4396af6..0172ee6 100644
--- a/_service
+++ b/_service
@@ -1,18 +1,16 @@
-
- git
+
+ 2.1.11
git://github.com/gitpython-developers/GitPython
- 2.1.11.git
- test-data
- enable
+ git
yes
+ enable
+ enable
+ refs/tags/2.1.11
-
- test-data
- yes
-
-
- test-data.tar
+
xz
+ *.tar
+
diff --git a/python-GitPython.changes b/python-GitPython.changes
index 8972576..a115590 100644
--- a/python-GitPython.changes
+++ b/python-GitPython.changes
@@ -1,3 +1,20 @@
+-------------------------------------------------------------------
+Fri Mar 15 13:52:47 UTC 2019 - tchvatal@suse.com
+
+- Update to version 2.1.11.1531661757.92a4819:
+ * Bump version to 2.1.11
+ * fix whitespace violation
+ * Update test_docs.py
+ * Dedent code blocks in tutorial.
+ * Allow pathlib.Path in Repo.__init__
+ * Fix small typo
+ * Fix exception on import in MacOS
+ * Bump to 2.1.10
+ * Add change in type support
+ * Get correcly rename change_type.
+- Simplify the service file and generating of the tarball
+ and base everything on a tag
+
-------------------------------------------------------------------
Wed Mar 13 12:09:51 UTC 2019 - John Vandenberg
diff --git a/python-GitPython.spec b/python-GitPython.spec
index 5d9ee2d..fc61cbd 100644
--- a/python-GitPython.spec
+++ b/python-GitPython.spec
@@ -18,30 +18,29 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-GitPython
-Version: 2.1.11
+Version: 2.1.11.1531661757.92a4819
Release: 0
Summary: Python Git Library
License: BSD-3-Clause
Group: Development/Languages/Python
URL: https://github.com/gitpython-developers/GitPython
-Source: https://files.pythonhosted.org/packages/source/G/GitPython/GitPython-%{version}.tar.gz
-Source1: test-data.tar.xz
+Source: GitPython-%{version}.tar.xz
Patch0: test-skips.patch
# Subset and rebase of merged https://github.com/gitpython-developers/GitPython/pull/793
Patch1: merged_pr_793.patch
Patch2: test_blocking_lock_file-extra-time.patch
-BuildRequires: %{python_module setuptools}
-BuildRequires: fdupes
-BuildRequires: python-rpm-macros
-Requires: git-core
-Requires: python-gitdb2 >= 2.0.0
-BuildArch: noarch
BuildRequires: %{python_module ddt >= 1.1.1}
BuildRequires: %{python_module gitdb2 >= 2.0.0}
BuildRequires: %{python_module nose}
+BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module smmap2 >= 2.0.0}
+BuildRequires: fdupes
BuildRequires: git
+BuildRequires: python-rpm-macros
BuildRequires: python2-mock
+Requires: git-core
+Requires: python-gitdb2 >= 2.0.0
+BuildArch: noarch
%python_subpackages
%description
@@ -57,13 +56,8 @@ are 'cgit' and pure python, which is the default.
%prep
%setup -q -n GitPython-%{version}
-%patch0 -p1
-%patch1 -p1
-%patch2 -p1
-
-tar -xf %{SOURCE1}
-cd test-data
echo y | ./init-tests-after-clone.sh
+%autopatch -p1
%build
%python_build
@@ -78,9 +72,10 @@ echo y | ./init-tests-after-clone.sh
# should work as the test runner sets up a git daemon.
export SKIP_GITHUB=true
export SKIP_LOCALHOST=true
+export TRAVIS=true
export LANG=en_US.UTF-8
-export GIT_PYTHON_TEST_GIT_REPO_BASE=${PWD}/test-data
+export GIT_PYTHON_TEST_GIT_REPO_BASE=${PWD}
git config --global user.email "you@example.com"
git config --global user.name "Your Name"
diff --git a/test-data.tar.xz b/test-data.tar.xz
deleted file mode 100644
index 7af2be4..0000000
--- a/test-data.tar.xz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:903384c5025142500698ffcf046616647bdefff50a69f0f701d53f6a3c306c2e
-size 10172560