diff --git a/libgit2.spec b/libgit2.spec index a908dfe..87f14c8 100644 --- a/libgit2.spec +++ b/libgit2.spec @@ -1,10 +1,13 @@ Name: libgit2 -Version: 0.21.0 +Version: 0.20.0 Release: 1%{?dist} +Epoch: 1 Summary: C implementation of the Git core methods as a library with a solid API License: GPLv2 with exceptions URL: http://libgit2.github.com/ Source0: https://github.com/libgit2/libgit2/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz +Patch0: 0001-Disable-failing-test.patch + BuildRequires: cmake BuildRequires: http-parser-devel BuildRequires: libssh2-devel @@ -32,6 +35,9 @@ developing applications that use %{name}. # Remove VCS files from examples find examples -name ".gitignore" -delete -print +# Apply patches +%patch0 -p1 -b .test + # Fix pkgconfig generation sed -i 's|@CMAKE_INSTALL_PREFIX@/||' libgit2.pc.in @@ -70,6 +76,9 @@ ctest -V %{_includedir}/git2/ %changelog +* Sat Sep 20 2014 Erik Johnson - 1:0.20.0-1 +- Revert to 0.20.0 for EL6 because 0.21-compatible python bindings can't be built + * Sat Jun 21 2014 Christopher Meng - 0.21.0-1 - Update to 0.21.0 diff --git a/sources b/sources index 49ca504..51531b6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -06b598bf21b0536dcbf454dc63af2313 libgit2-0.21.0.tar.gz +e35f613a37e11354f34249f2faa68237 libgit2-0.20.0.tar.gz