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.000000000 +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 - [email protected]
+
+- Rename rpmlintrc to golang-googlecode-mango-doc-rpmlintrc
+
+-------------------------------------------------------------------
+Tue Mar 7 16:04:06 UTC 2017 - [email protected]
+
+- Update source
+
+-------------------------------------------------------------------
+Tue Dec 13 14:40:28 UTC 2016 - [email protected]
+
+- 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 <[email protected]>
+# 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 provider google
+%global provider_sub code
+%global provider_tld com
+%global repo mango-doc
+%global provider_prefix %{provider_sub}.%{provider}.%{provider_tld}/p/%{repo}
+%global import_path %{provider_prefix}
+%global rev 23dea2f59f66
+%global date 20141127
+
+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 @@
<services>
- <service name="tar_scm" mode="disabled">
- <param name="url">https://github.com/EricLagergren/mango-doc</param>
- <param name="scm">git</param>
- <param name="exclude">.git</param>
- <param name="versionformat">0.0.0+git%cd.%h</param>
- <param name="revision">master</param>
- <param name="changesgenerate">enable</param>
- </service>
- <service name="recompress" mode="disabled">
- <param name="file">mango-doc-*.tar</param>
- <param name="compression">xz</param>
- </service>
- <service name="set_version" mode="disabled">
- <param name="basename">mango-doc</param>
+ <service name="download_files" mode="disabled">
+ <param name="recompress">yes</param>
</service>
</services>
++++++ 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
addFilter("statically-linked-binary")
# We are aware of that but shorter names are not possible
addFilter("filename-too-long-for-joliet")