diff --git a/golang-github-russross-blackfriday.spec b/golang-github-russross-blackfriday.spec index 14e7a6f..7e3eff3 100644 --- a/golang-github-russross-blackfriday.spec +++ b/golang-github-russross-blackfriday.spec @@ -9,7 +9,7 @@ Name: golang-%{provider}-%{project}-%{repo} Version: 1.2 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Markdown processor implemented in Go License: BSD URL: https://%{import_path} @@ -26,7 +26,6 @@ ExclusiveArch: %{ix86} x86_64 %{arm} %package devel BuildRequires: golang >= 1.2.1-3 BuildRequires: golang(github.com/shurcooL/sanitized_anchor_name) -Requires: golang >= 1.2.1-3 Requires: golang(github.com/shurcooL/sanitized_anchor_name) Summary: Markdown processor implemented in Go Provides: golang(%{import_path}) = %{version}-%{release} @@ -39,7 +38,7 @@ This package contains library source intended for building other packages which use %{project}/%{repo}. %prep -%setup -qn %{repo}-%{commit} +%setup -q -n %{repo}-%{commit} %build @@ -52,14 +51,21 @@ cp -pav upskirtref/* %{buildroot}%{gopath}/src/%{import_path}/upskirtref/ GOPATH=%{gopath}:%{buildroot}%{gopath} go test %{import_path} %files devel +%if 0%{?fedora} +%license LICENSE.txt %doc README.md +%else +%doc LICENSE.txt README.md +%endif %dir %{gopath}/src/%{provider}.%{provider_tld}/%{project} -%dir %{gopath}/src/%{import_path} -%dir %{gopath}/src/%{import_path}/* -%{gopath}/src/%{import_path}/*.go -%{gopath}/src/%{import_path}/*/* +%{gopath}/src/%{import_path} %changelog +* Sun May 17 2015 jchaloup - 1.2-6 +- Add license macro for LICENSE +- Remove runtime dependency on golang. + resolves: #1222338 + * Mon Mar 02 2015 jchaloup - 1.2-5 - Bump to upstream 77efab57b2f74dd3f9051c79752b2e8995c8b789 Update spec file to used commit tarball