Hello community,
here is the log from the commit of package golang-github-golang-glog for
openSUSE:Factory checked in at 2017-03-24 02:15:31
Comparing /work/SRC/openSUSE:Factory/golang-github-golang-glog (Old)
and /work/SRC/openSUSE:Factory/.golang-github-golang-glog.new (New)
Package is "golang-github-golang-glog"
Fri Mar 24 02:15:31 2017 rev:2 rq:477168 version:0.0.0+git20141105.44145f0
Changes:
---
/work/SRC/openSUSE:Factory/golang-github-golang-glog/golang-github-golang-glog.changes
2015-07-24 09:58:19.0 +0200
+++
/work/SRC/openSUSE:Factory/.golang-github-golang-glog.new/golang-github-golang-glog.changes
2017-03-24 02:15:32.403973708 +0100
@@ -1,0 +2,11 @@
+Fri Dec 2 09:14:32 UTC 2016 - tboer...@suse.com
+
+- Recursively test all packages
+
+---
+Wed Aug 17 11:51:02 UTC 2016 - tboer...@suse.com
+
+- Refactoed spec with a new unified layout
+- Added rpmlintrc for common golang linting
+
+---
New:
rpmlintrc
Other differences:
--
++ golang-github-golang-glog.spec ++
--- /var/tmp/diff_new_pack.dHdVvZ/_old 2017-03-24 02:15:33.011887695 +0100
+++ /var/tmp/diff_new_pack.dHdVvZ/_new 2017-03-24 02:15:33.015887129 +0100
@@ -1,7 +1,7 @@
#
-# spec file for package golang-github-golang-glog
+# spec file for package golang
#
-# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 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
@@ -16,43 +16,51 @@
#
-Name: golang-github-golang-glog
+%global providergithub
+%global provider_tldcom
+%global project golang
+%global repoglog
+%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
+%global import_path %{provider_prefix}
+
+Name: golang-%{provider}-%{project}-%{repo}
Version:0.0.0+git20141105.44145f0
Release:0
Summary:Leveled execution logs for Go
License:Apache-2.0
-Group: Development/Languages/Other
-Url:https://github.com/golang/glog
-Source: glog-%{version}.tar.xz
+Group: Development/Languages/Golang
+Url:https://%{provider_prefix}
+Source0:%{repo}-%{version}.tar.xz
+Source1:rpmlintrc
BuildRoot: %{_tmppath}/%{name}-%{version}-build
+
BuildRequires: golang-packaging
BuildRequires: xz
+
+%{go_nostrip}
%{go_provides}
%description
-This is an efficient pure Go implementation of leveled logs in the
-manner of the open source C++ package google-glog.
-
-%gosrc_package
+This is an efficient pure Go implementation of leveled logs in the manner of
+the open source C++ package google-glog.
%prep
-%setup -q -n glog-%{version}
+%setup -q -n %{repo}-%{version}
%build
-%goprep github.com/golang/glog
+%goprep %{import_path}
%gobuild ...
%install
%goinstall
%gosrc
+%gofilelist
-%files
-%defattr(-,root,root,-)
-%doc LICENSE README
-%{go_contribdir}/*
+%check
+%gotest %{import_path}...
-%files source
+%files -f file.lst
%defattr(-,root,root,-)
-%{go_contribsrcdir}/*
+%doc README LICENSE
%changelog
++ _service ++
--- /var/tmp/diff_new_pack.dHdVvZ/_old 2017-03-24 02:15:33.051882035 +0100
+++ /var/tmp/diff_new_pack.dHdVvZ/_new 2017-03-24 02:15:33.055881470 +0100
@@ -1,16 +1,17 @@
-
+
https://github.com/golang/glog
git
.git
0.0.0+git%cd.%h
master
+enable
-
+
glog-*.tar
xz
-
+
glog
++ 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")