commit 5d8d24ad5901342fbcfcef1009058d34700e3f3d Author: Jan Chaloupka jchaloup@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://%%7Bimport_path%7D -Source0: https://%%7Bimport_path%7D/archive/v%%7Bversion%7D.tar.gz +Source0: https://%%7Bimport_path%7D/archive/%%7Bcommit%7D/%%7Brepo%7D-%%7Bshortcommit... %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@redhat.com - 1.2-5 - Bump to upstream 77efab57b2f74dd3f9051c79752b2e8995c8b789 + Update spec file to used commit tarball related: #1156176
* Wed Feb 25 2015 jchaloup jchaloup@redhat.com - 1.2-4
golang@lists.fedoraproject.org