[libgit2] Use a better path for the tarball

Ignacio Casal Quinteiro nacho at fedoraproject.org
Thu Nov 28 10:14:21 UTC 2013


commit 591f751c3f6f2ba70d1cc484b0dc587d82fd0b1d
Author: Ignacio Casal Quinteiro <icq at gnome.org>
Date:   Thu Nov 28 11:13:53 2013 +0100

    Use a better path for the tarball

 libgit2.spec |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
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


More information about the scm-commits mailing list