diff --git a/.gitignore b/.gitignore
index 8364273..e11201d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -9,3 +9,4 @@
 /pygit2-0.22.1.tar.gz
 /pygit2-0.23.1.tar.gz
 /pygit2-0.23.3.tar.gz
+/pygit2-0.24.0.tar.gz
diff --git a/python-pygit2.spec b/python-pygit2.spec
index 85cff27..cd483d2 100644
--- a/python-pygit2.spec
+++ b/python-pygit2.spec
@@ -1,8 +1,8 @@
 %global pkgname pygit2
 
 Name:           python-%{pkgname}
-Version:        0.23.3
-Release:        2%{?dist}
+Version:        0.24.0
+Release:        1%{?dist}
 Summary:        Python bindings for libgit2
 URL:            http://www.pygit2.org
 Source:         http://pypi.python.org/packages/source/p/%{pkgname}/%{pkgname}-%{version}.tar.gz
@@ -14,10 +14,6 @@ Requires:       python-cffi
 
 Patch1:         0001-Remove-remote-calling-unit-tests.patch
 
-# From upstream:
-# https://github.com/libgit2/pygit2/issues/597#issuecomment-187773503
-Patch2:         0001-Attempt-to-fix-build-on-0.23.3.patch
-
 %description
 pygit2 is a set of Python bindings to the libgit2 library, which implements 
 the core of Git.
@@ -98,6 +94,9 @@ find %{buildroot} -name '*.so' -exec chmod 755 {} ';'
 %doc docs/_build/html/*
 
 %changelog
+* Sun Mar 20 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.24.0-1
+- Update to 0.24.0
+
 * Wed Feb 24 2016 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.23.3-2
 - Fix building 0.23.3 also in i686
 
diff --git a/sources b/sources
index a358055..bdb531a 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-1c20926ad48ce622b0087ab2bb812ae3  pygit2-0.23.3.tar.gz
+05f62d21f054c1a1559a726c7fdaeff1  pygit2-0.24.0.tar.gz