Hello community,
here is the log from the commit of package golang-googlecode-mango-doc for
openSUSE:Factory checked in at 2017-09-14 21:13:13
Comparing /work/SRC/openSUSE:Factory/golang-googlecode-mango-doc (Old)
and /work/SRC/openSUSE:Factory/.golang-googlecode-mango-doc.new (New)
Package is "golang-googlecode-mango-doc"
Thu Sep 14 21:13:13 2017 rev:2 rq:484041 version:0.0.0+hg20141127.23dea2f59f66
Changes:
---
/work/SRC/openSUSE:Factory/golang-googlecode-mango-doc/golang-googlecode-mango-doc.changes
2016-06-09 16:15:37.0 +0200
+++
/work/SRC/openSUSE:Factory/.golang-googlecode-mango-doc.new/golang-googlecode-mango-doc.changes
2017-09-14 21:13:13.667363263 +0200
@@ -1,0 +2,15 @@
+Thu Mar 16 10:00:27 UTC 2017 - th...@suse.de
+
+- Rename rpmlintrc to golang-googlecode-mango-doc-rpmlintrc
+
+---
+Tue Mar 7 16:04:06 UTC 2017 - th...@suse.de
+
+- Update source
+
+---
+Tue Dec 13 14:40:28 UTC 2016 - tboer...@suse.com
+
+- Refactoring based on new packaging proposal
+
+---
Old:
_servicedata
mango-doc-0.0.0+git20141127.9071ba2.tar.xz
New:
golang-googlecode-mango-doc-rpmlintrc
mango-doc-0.0.0+hg20141127.23dea2f59f66.tar.gz
Other differences:
--
++ golang-googlecode-mango-doc.spec ++
--- /var/tmp/diff_new_pack.8VELFc/_old 2017-09-14 21:13:14.319271503 +0200
+++ /var/tmp/diff_new_pack.8VELFc/_new 2017-09-14 21:13:14.323270940 +0200
@@ -1,8 +1,7 @@
#
-# spec file for package golang-googlecode-mango-doc
+# spec file for package golang
#
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
-# Copyright (c) 2012 Sascha Peilicke
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,45 +16,64 @@
#
-Name: golang-googlecode-mango-doc
-Version:0.0.0+git20141127.9071ba2
+%global providergoogle
+%global provider_subcode
+%global provider_tldcom
+%global repomango-doc
+%global provider_prefix %{provider_sub}.%{provider}.%{provider_tld}/p/%{repo}
+%global import_path %{provider_prefix}
+%global rev 23dea2f59f66
+%global date20141127
+
+Name: golang-%{provider}%{provider_sub}-%{repo}
+Version:0.0.0+hg%{date}.%{rev}
Release:0
Summary:Automatically create man pages from Go packages
License:BSD-3-Clause
-Group: Development/Languages/Other
-Url:http://code.google.com/p/mango-doc
-Source0:mango-doc-%{version}.tar.xz
-BuildRequires: golang-packaging
-BuildRequires: xz
-Provides: mango-doc
-Provides:go-mango-doc = %{version}
-Obsoletes: go-mango-doc < %{version}
+Group: Development/Languages/Golang
+Url:https://%{provider_prefix}
+Source0:%{repo}-%{version}.tar.gz
+Source1:%{name}-rpmlintrc
BuildRoot: %{_tmppath}/%{name}-%{version}-build
+
+BuildRequires: golang-packaging
+
+%{go_nostrip}
%{go_provides}
%description
Create a man page from a Go package's source file's documentation.
-%gosrc_package
+%package -n mango-doc
+Summary:Automatically create man pages from Go packages
+Group: Development/Languages/Golang
+AutoReqProv:Off
+
+%{go_exclusivearch}
+
+%description -n mango-doc
+Create a man page from a Go package's source file's documentation.
%prep
-%setup -q -n mango-doc-%{version}
+%setup -q -n %{repo}-%{rev}
%build
-%goprep code.google.com/p/mango-doc
+%goprep %{import_path}
%gobuild ...
%install
%goinstall
%gosrc
+%gofilelist
-%go_filelist
-%go_filelist --source
+%check
+%gotest %{import_path}...
%files -f file.lst
%defattr(-,root,root,-)
-%files source -f source.lst
-%defattr(-,root,root,-)
+%files -n mango-doc
+%defattr(-,root,root)
+%{_bindir}/mango-doc
%changelog
++ _service ++
--- /var/tmp/diff_new_pack.8VELFc/_old 2017-09-14 21:13:14.351266999 +0200
+++ /var/tmp/diff_new_pack.8VELFc/_new 2017-09-14 21:13:14.355266437 +0200
@@ -1,17 +1,5 @@
-
-https://github.com/EricLagergren/mango-doc
-git
-.git
-0.0.0+git%cd.%h
-master
-enable
-
-
-mango-doc-*.tar
-xz
-
-
-mango-doc
+
+yes
++ golang-googlecode-mango-doc-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