Hello community, here is the log from the commit of package go-web.go for openSUSE:Factory checked in at 2015-03-23 12:18:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/go-web.go (Old) and /work/SRC/openSUSE:Factory/.go-web.go.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "go-web.go" Changes: -------- --- /work/SRC/openSUSE:Factory/go-web.go/go-web.go.changes 2013-08-21 10:30:32.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.go-web.go.new/go-web.go.changes 2015-03-23 12:18:34.000000000 +0100 @@ -1,0 +2,12 @@ +Sat Mar 21 07:16:11 UTC 2015 - [email protected] + +- update version 0.0.0+git20130630.5a66d0f +- import path changed to github.com/hoisie/web +- drop weekly-build-fix.patch + * upstream contains this fix +- remove go_disable_brp_strip_static_archive usage +- add patch web.go-go.net.patch + * patch web.go to use golang.org/x/net instead of + code.google.com/p/go.net + +------------------------------------------------------------------- Old: ---- web.go-0.0.0+git20120217.tar.bz2 weekly-build-fix.patch New: ---- _service web-0.0.0+git20130630.5a66d0f.tar.xz web.go-go.net.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ go-web.go.spec ++++++ --- /var/tmp/diff_new_pack.UEhqYX/_old 2015-03-23 12:18:35.000000000 +0100 +++ /var/tmp/diff_new_pack.UEhqYX/_new 2015-03-23 12:18:35.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package go-web.go # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2011 Sascha Peilicke <[email protected]> # # All modifications and additions to the file contributed by third parties @@ -17,56 +17,44 @@ # - Name: go-web.go -Version: 0.0.0+git20120217 +Version: 0.0.0+git20130630.5a66d0f Release: 0 Summary: A simple framework to write webapps in Go License: MIT Group: Development/Languages/Other -Url: http://github.com/hoisie/web.go -# see also http://github.com/ganderson/web.go weekly branch for upstreamed pull request -Source0: web.go-%{version}.tar.bz2 -Patch0: weekly-build-fix.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-build +Url: http://github.com/hoisie/web +Source: web-%{version}.tar.xz +# PATCH-FIX-UPSTREAM code.google.com/p/go.net is obsolete +# use golang.org/x/net instead +Patch: web.go-go.net.patch BuildRequires: go-devel -ExclusiveArch: %ix86 x86_64 %arm -%if 0%{?suse_version} >= 1100 -Recommends: go-web.go-doc -%endif +BuildRequires: go-net +BuildRequires: xz +Requires: go-net +BuildRoot: %{_tmppath}/%{name}-%{version}-build %{go_provides} %{go_requires} +%{go_recommends} %description Web.go is the simplest way to write web applications in the Go programming language. It's ideal for writing simple, performant backend web services. -%package doc -Summary: API documenation -Group: Documentation/Other -Requires: %{name} = %{version} - -%description doc -API, examples and documentation. +%godoc_package %prep -%setup -q -n web.go -%patch0 -p1 +%setup -q -n web-%{version} +%patch -p1 %build -%goprep github.com/hoisie/web.go/ +%goprep github.com/hoisie/web %gobuild %install -%{go_disable_brp_strip_static_archive} - %goinstall %godoc -%check -# couple of tests currently fail for json parser -#%%gotest github.com/hoisie/web.go - %files %defattr(-,root,root,-) %doc LICENSE Readme.md examples ++++++ _service ++++++ <services> <service name="tar_scm" mode="localonly"> <param name="url">https://github.com/hoisie/web.git</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> </service> <service name="recompress" mode="localonly"> <param name="file">web-*.tar</param> <param name="compression">xz</param> </service> <service name="set_version" mode="localonly"> <param name="basename">web</param> </service> </services> ++++++ web.go-go.net.patch ++++++ Index: web-0.0.0+git20130630.5a66d0f/server.go =================================================================== --- web-0.0.0+git20130630.5a66d0f.orig/server.go +++ web-0.0.0+git20130630.5a66d0f/server.go @@ -2,7 +2,7 @@ package web import ( "bytes" - "code.google.com/p/go.net/websocket" + "golang.org/x/net/websocket" "crypto/tls" "fmt" "log" Index: web-0.0.0+git20130630.5a66d0f/web.go =================================================================== --- web-0.0.0+git20130630.5a66d0f.orig/web.go +++ web-0.0.0+git20130630.5a66d0f/web.go @@ -4,7 +4,7 @@ package web import ( "bytes" - "code.google.com/p/go.net/websocket" + "golang.org/x/net/websocket" "crypto/hmac" "crypto/sha1" "crypto/tls" -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
