Hello community,
here is the log from the commit of package golang-github-gorilla-context for
openSUSE:Factory checked in at 2017-03-24 02:15:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/golang-github-gorilla-context (Old)
and /work/SRC/openSUSE:Factory/.golang-github-gorilla-context.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "golang-github-gorilla-context"
Fri Mar 24 02:15:35 2017 rev:2 rq:477169 version:1.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/golang-github-gorilla-context/golang-github-gorilla-context.changes
2016-08-05 18:15:42.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.golang-github-gorilla-context.new/golang-github-gorilla-context.changes
2017-03-24 02:15:36.467398773 +0100
@@ -1,0 +2,5 @@
+Wed Jan 11 13:11:02 UTC 2017 - [email protected]
+
+- Refactoring based on new packaging proposal
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ golang-github-gorilla-context.spec ++++++
--- /var/tmp/diff_new_pack.80LeTq/_old 2017-03-24 02:15:36.983325774 +0100
+++ /var/tmp/diff_new_pack.80LeTq/_new 2017-03-24 02:15:36.987325208 +0100
@@ -1,7 +1,7 @@
#
-# spec file for package golang-github-gorilla-context
+# spec file for package golang
#
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# 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
@@ -16,18 +16,28 @@
#
-%define import_path github.com/gorilla/context
-Name: golang-github-gorilla-context
+%global provider github
+%global provider_tld com
+%global project gorilla
+%global repo context
+%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
+%global import_path %{provider_prefix}
+
+Name: golang-%{provider}-%{project}-%{repo}
Version: 1.1
Release: 0
Summary: General purpose registry for global request variables
License: BSD-3-Clause
Group: Development/Languages/Other
Url: https://%{import_path}
-Source: context-%{version}.tar.xz
+Source: %{repo}-%{version}.tar.xz
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+BuildArch: noarch
+
BuildRequires: golang-packaging
BuildRequires: xz
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
+
+%{go_nostrip}
%{go_provides}
%description
@@ -37,30 +47,23 @@
application handlers can access those values, or it can be used to store
sessions values to be saved at the end of a request.
-%{gosrc_package}
-
%prep
%setup -q -n context-%{version}
%build
-%{goprep} %{import_path}
-%{gobuild}
+%goprep %{import_path}
+%gobuild .
%check
%{gotest} %{import_path}
%install
-%{goinstall}
-%{gosrc}
-
-%files
-%defattr(-,root,root,-)
-%doc LICENSE README.md
-%{go_contribdir}/*
+%goinstall
+%gosrc
+%gofilelist
-%files source
+%files -f file.lst
%defattr(-,root,root,-)
%doc LICENSE README.md
-%{go_contribsrcdir}/*
%changelog