From 591f751c3f6f2ba70d1cc484b0dc587d82fd0b1d Mon Sep 17 00:00:00 2001 From: Ignacio Casal Quinteiro Date: Thu, 28 Nov 2013 11:13:53 +0100 Subject: [PATCH] Use a better path for the tarball --- libgit2.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libgit2.spec b/libgit2.spec index ad5ce32..a8e96de 100644 --- a/libgit2.spec +++ b/libgit2.spec @@ -1,3 +1,5 @@ +%global commit 43cb8b32428b1b29994874349ec22eb5372e152c + Name: libgit2 Version: 0.20.0 Release: 1%{?dist} @@ -5,7 +7,7 @@ Summary: A C implementation of the Git core methods as a library License: GPLv2 with exceptions URL: http://libgit2.github.com/ -Source0: https://github.com/libgit2/libgit2/archive/v%{version}.tar.gz +Source0: https://github.com/%{name}/%{name}/archive/%{commit}/%{name}-%{version}.tar.gz # Use system libxdiff Patch0: libgit2-0.19.0-system-libxdiff.patch