Hello community, here is the log from the commit of package golang-googlecode-couch-go for openSUSE:Factory checked in at 2017-03-21 22:48:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/golang-googlecode-couch-go (Old) and /work/SRC/openSUSE:Factory/.golang-googlecode-couch-go.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "golang-googlecode-couch-go" Tue Mar 21 22:48:36 2017 rev:2 rq:479272 version:0.0.0+hg20120329.80177d89e264 Changes: -------- --- /work/SRC/openSUSE:Factory/golang-googlecode-couch-go/golang-googlecode-couch-go.changes 2015-07-24 09:58:36.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.golang-googlecode-couch-go.new/golang-googlecode-couch-go.changes 2017-03-21 22:48:43.129825457 +0100 @@ -1,0 +2,10 @@ +Tue Mar 7 15:51:33 UTC 2017 - th...@suse.de + +- Update source + +------------------------------------------------------------------- +Tue Dec 13 14:39:56 UTC 2016 - tboer...@suse.com + +- Refactoring based on new packaging proposal + +------------------------------------------------------------------- Old: ---- README.SUSE couch-go-0.0.0+hg20120329.56.80177d89e264.tar.xz New: ---- couch-go-0.0.0+hg20120329.80177d89e264.tar.gz rpmlintrc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ golang-googlecode-couch-go.spec ++++++ --- /var/tmp/diff_new_pack.A3un8x/_old 2017-03-21 22:48:44.045695978 +0100 +++ /var/tmp/diff_new_pack.A3un8x/_new 2017-03-21 22:48:44.049695412 +0100 @@ -1,8 +1,7 @@ # -# spec file for package golang-googlecode-couch-go +# spec file for package golang # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. -# Copyright (c) 2011 Sascha Peilicke <sasc...@gmx.de> +# 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,49 +16,52 @@ # -Name: golang-googlecode-couch-go -Version: 0.0.0+hg20120329.56.80177d89e264 +%global provider google +%global provider_sub code +%global provider_tld com +%global repo couch-go +%global provider_prefix %{provider_sub}.%{provider}.%{provider_tld}/p/%{repo} +%global import_path %{provider_prefix} +%global rev 80177d89e264 +%global date 20120329 + +Name: golang-%{provider}%{provider_sub}-%{repo} +Version: 0.0.0+hg%{date}.%{rev} Release: 0 Summary: Simple CouchDB API for Google Go License: MIT -Group: Development/Languages/Other -Url: http://code.google.com/p/couch-go/ -Source: couch-go-%{version}.tar.xz -Source1: README.SUSE +Group: Development/Languages/Golang +Url: https://%{provider_prefix} +Source0: %{repo}-%{version}.tar.gz +Source1: rpmlintrc BuildRoot: %{_tmppath}/%{name}-%{version}-build + BuildRequires: golang-packaging -BuildRequires: xz -%if 0%{?suse_version} >= 1100 -Recommends: couchdb -%endif -Provides: go-couch-go = %{version}-%{release} -Obsoletes: go-couch-go < %{version}-%{release} + +%{go_nostrip} %{go_provides} %description -Couch-go is a simple CouchDB (0.9+) API for the Google Go language. It -supports basic operations on documents. - -%gosrc_package +Couch-go is a simple CouchDB (0.9+) API for the Google Go language. It supports +basic operations on documents. %prep -%setup -q -n couch-go-%{version} +%setup -q -n %{repo}-%{rev} %build -%goprep code.google.com/p/couch-go -%gobuild +%goprep %{import_path} +%gobuild ... %install %goinstall %gosrc +%gofilelist -%files -%defattr(-,root,root,-) -%doc LICENSE -%{go_contribdir}/* +%check +#gotest %{import_path}... -%files source +%files -f file.lst %defattr(-,root,root,-) -%{go_contribsrcdir}/* +%doc LICENSE %changelog ++++++ _service ++++++ --- /var/tmp/diff_new_pack.A3un8x/_old 2017-03-21 22:48:44.085690323 +0100 +++ /var/tmp/diff_new_pack.A3un8x/_new 2017-03-21 22:48:44.089689758 +0100 @@ -1,16 +1,5 @@ <services> - <service name="tar_scm" mode="localonly"> - <param name="url">https://code.google.com/p/couch-go/</param> - <param name="scm">hg</param> - <param name="exclude">.hg</param> - <param name="versionformat">0.0.0+hg{date|shortdate}.{rev}.{node|short}</param> - <param name="revision">tip</param> - </service> - <service name="recompress" mode="localonly"> - <param name="file">couch-go-*.tar</param> - <param name="compression">xz</param> - </service> - <service name="set_version" mode="localonly"> - <param name="basename">couch-go</param> + <service name="download_files" mode="disabled"> + <param name="recompress">yes</param> </service> </services> ++++++ 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")