commit 6b58d861f832c5bf3b6675c494d669b24affa5c0
Author: Jan Chaloupka <jchaloup(a)redhat.com>
Date: Mon Mar 2 12:24:41 2015 +0100
Update spec file to used commit tarball
- related: #1156176
golang-github-russross-blackfriday.spec | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/golang-github-russross-blackfriday.spec
b/golang-github-russross-blackfriday.spec
index fcd6968..14e7a6f 100644
--- a/golang-github-russross-blackfriday.spec
+++ b/golang-github-russross-blackfriday.spec
@@ -13,7 +13,7 @@ Release: 5%{?dist}
Summary: Markdown processor implemented in Go
License: BSD
URL: https://%{import_path}
-Source0: https://%{import_path}/archive/v%{version}.tar.gz
+Source0: https://%{import_path}/archive/%{commit}/%{repo}-%{shortcommit}.tar.gz
%if 0%{?fedora} >= 21 || 0%{?rhel} >= 7
BuildArch: noarch
%else
@@ -25,9 +25,9 @@ ExclusiveArch: %{ix86} x86_64 %{arm}
%package devel
BuildRequires: golang >= 1.2.1-3
-BuildRequires:
golang(code.google.com/p/go.net/html)
+BuildRequires:
golang(github.com/shurcooL/sanitized_anchor_name)
Requires: golang >= 1.2.1-3
-Requires:
golang(code.google.com/p/go.net/html)
+Requires:
golang(github.com/shurcooL/sanitized_anchor_name)
Summary: Markdown processor implemented in Go
Provides: golang(%{import_path}) = %{version}-%{release}
Provides: golang(%{import_path}/mangen) = %{version}-%{release}
@@ -39,7 +39,7 @@ This package contains library source intended for building other
packages
which use %{project}/%{repo}.
%prep
-%setup -qn %{repo}-%{version}
+%setup -qn %{repo}-%{commit}
%build
@@ -62,6 +62,7 @@ GOPATH=%{gopath}:%{buildroot}%{gopath} go test %{import_path}
%changelog
* Mon Mar 02 2015 jchaloup <jchaloup(a)redhat.com> - 1.2-5
- Bump to upstream 77efab57b2f74dd3f9051c79752b2e8995c8b789
+ Update spec file to used commit tarball
related: #1156176
* Wed Feb 25 2015 jchaloup <jchaloup(a)redhat.com> - 1.2-4