jchaloup pushed to golang-github-russross-blackfriday (master). "Add license macro for LICENSE (..more)"
notifications at fedoraproject.org
notifications at fedoraproject.org
Sun May 17 20:17:49 UTC 2015
From ec5a93b7baa2b6ab530f50ec4e32ab98f29aeecd Mon Sep 17 00:00:00 2001
From: Jan Chaloupka <jchaloup at redhat.com>
Date: Sun, 17 May 2015 22:08:10 +0200
Subject: Add license macro for LICENSE Remove runtime dependency on golang. -
resolves: #1222338
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 <jchaloup at redhat.com> - 1.2-6
+- Add license macro for LICENSE
+- Remove runtime dependency on golang.
+ resolves: #1222338
+
* Mon Mar 02 2015 jchaloup <jchaloup at redhat.com> - 1.2-5
- Bump to upstream 77efab57b2f74dd3f9051c79752b2e8995c8b789
Update spec file to used commit tarball
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/golang-github-russross-blackfriday.git/commit/?h=master&id=ec5a93b7baa2b6ab530f50ec4e32ab98f29aeecd
More information about the scm-commits
mailing list