Hello community,
here is the log from the commit of package golang-github-russross-blackfriday
for openSUSE:Factory checked in at 2017-03-24 02:16:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/golang-github-russross-blackfriday (Old)
and /work/SRC/openSUSE:Factory/.golang-github-russross-blackfriday.new
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "golang-github-russross-blackfriday"
Fri Mar 24 02:16:01 2017 rev:4 rq:477181 version:1.4.0+git20151230.c8875c0
Changes:
--------
---
/work/SRC/openSUSE:Factory/golang-github-russross-blackfriday/golang-github-russross-blackfriday.changes
2016-12-03 18:27:22.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.golang-github-russross-blackfriday.new/golang-github-russross-blackfriday.changes
2017-03-24 02:16:02.335738645 +0100
@@ -1,0 +2,30 @@
+Fri Dec 2 09:18:50 UTC 2016 - [email protected]
+
+- Recursively test all packages
+
+-------------------------------------------------------------------
+Fri Dec 2 09:18:50 UTC 2016 - [email protected]
+
+- Added rpmlintrc for common golang linting
+
+-------------------------------------------------------------------
+Fri Dec 2 09:18:50 UTC 2016 - [email protected]
+
+- Always call gobuild and goinstall
+
+-------------------------------------------------------------------
+Fri Dec 2 09:18:50 UTC 2016 - [email protected]
+
+- Requires and BuildRequires for dependencies
+
+-------------------------------------------------------------------
+Fri Dec 2 09:18:50 UTC 2016 - [email protected]
+
+- Using the new golang-packaging now
+
+-------------------------------------------------------------------
+Fri Dec 2 09:18:50 UTC 2016 - [email protected]
+
+- Refactoed spec with a new unified layout
+
+-------------------------------------------------------------------
New:
----
rpmlintrc
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ golang-github-russross-blackfriday.spec ++++++
--- /var/tmp/diff_new_pack.MSqX8V/_old 2017-03-24 02:16:03.743539454 +0100
+++ /var/tmp/diff_new_pack.MSqX8V/_new 2017-03-24 02:16:03.747538888 +0100
@@ -1,5 +1,5 @@
#
-# spec file for package golang-github-russross-blackfriday
+# spec file for package golang
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
@@ -16,52 +16,58 @@
#
-Name: golang-github-russross-blackfriday
+%global provider github
+%global provider_tld com
+%global project russross
+%global repo blackfriday
+%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
+%global import_path %{provider_prefix}
+
+Name: golang-%{provider}-%{project}-%{repo}
Version: 1.4.0+git20151230.c8875c0
Release: 0
Summary: Markdown processor implemented in Go
License: BSD-2-Clause
Group: Development/Languages/Golang
-Url: https://github.com/russross/blackfriday
-Source: blackfriday-%{version}.tar.xz
-BuildRequires: findutils
-BuildRequires: golang-github-shurcool-sanitized_anchor_name-source
+Url: https://%{provider_prefix}
+Source0: %{repo}-%{version}.tar.xz
+Source1: rpmlintrc
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+
BuildRequires: golang-packaging
-BuildRequires: sed
BuildRequires: xz
-Provides: go-blackfriday = %{version}
-Obsoletes: go-blackfriday < %{version}
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
-%{go_provides}
-%description
-Blackfriday is a Markdown processor implemented in Go. It is paranoid about
its input (so you can safely feed it user-supplied data), it is fast, it
supports common extensions (tables, smart punctuation substitutions, etc.), and
it is safe for all utf-8 (unicode) input.
+BuildRequires: golang(github.com/shurcooL/sanitized_anchor_name)
+Requires: golang(github.com/shurcooL/sanitized_anchor_name)
-HTML output is currently supported, along with Smartypants extensions. An
experimental LaTeX output engine is also included.
+%{go_nostrip}
+%{go_provides}
-%gosrc_package
+%description
+Blackfriday is a Markdown processor implemented in Go. It is paranoid about its
+input (so you can safely feed it user-supplied data), it is fast, it supports
+common extensions (tables, smart punctuation substitutions, etc.), and it is
+safe for all utf-8 (unicode) input. HTML output is currently supported, along
+with Smartypants extensions. An experimental LaTeX output engine is also
+included.
%prep
-%setup -q -n blackfriday-%{version}
+%setup -q -n %{repo}-%{version}
%build
-%{goprep} github.com/russross/blackfriday
-%{gobuild} ...
+%goprep %{import_path}
+%gobuild ...
%install
-%{goinstall}
-%{gosrc}
-%{go_filelist}
+%goinstall
+%gosrc
+%gofilelist
%check
-%{gotest} github.com/russross/blackfriday
+%gotest %{import_path}...
%files -f file.lst
%defattr(-,root,root,-)
-%doc README.md
-
-%files source
-%defattr(-,root,root,-)
-%{go_contribsrcdir}/*
+%doc README.md LICENSE.txt
%changelog
++++++ rpmlintrc ++++++
# We are preventing the stripping to keep backtraces intact
addFilter("unstripped-binary-or-object")
# Golang doesn't support dynamic linking yet in a proper way
addFilter("statically-linked-binary")
# We are aware of that but shorter names are not possible
addFilter("filename-too-long-for-joliet")