commit golang-github-hoisie-httplib for openSUSE:Factory

2017-03-23 Thread root
Hello community,

here is the log from the commit of package golang-github-hoisie-httplib for 
openSUSE:Factory checked in at 2017-03-24 02:15:40

Comparing /work/SRC/openSUSE:Factory/golang-github-hoisie-httplib (Old)
 and  /work/SRC/openSUSE:Factory/.golang-github-hoisie-httplib.new (New)


Package is "golang-github-hoisie-httplib"

Fri Mar 24 02:15:40 2017 rev:2 rq:477171 version:0.0.0+git20120409.3cbb2f7

Changes:

--- 
/work/SRC/openSUSE:Factory/golang-github-hoisie-httplib/golang-github-hoisie-httplib.changes
2015-08-01 11:36:39.0 +0200
+++ 
/work/SRC/openSUSE:Factory/.golang-github-hoisie-httplib.new/golang-github-hoisie-httplib.changes
   2017-03-24 02:15:40.810784225 +0100
@@ -1,0 +2,6 @@
+Fri Jan 13 12:16:54 UTC 2017 - th...@suse.de
+
+- Refactoring based on new packaging proposal
+- Add rpmlintrc 
+
+---

New:

  rpmlintrc



Other differences:
--
++ golang-github-hoisie-httplib.spec ++
--- /var/tmp/diff_new_pack.ez2X38/_old  2017-03-24 02:15:41.290716319 +0100
+++ /var/tmp/diff_new_pack.ez2X38/_new  2017-03-24 02:15:41.294715753 +0100
@@ -1,7 +1,7 @@
 #
-# spec file for package golang-github-hoisie-httplib
+# spec file for package golang
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2011 Sascha Peilicke 
 #
 # All modifications and additions to the file contributed by third parties
@@ -17,21 +17,31 @@
 #
 
 
-Name:   golang-github-hoisie-httplib
+%global providergithub
+%global provider_tldcom
+%global project hoisie
+%global repohttplib
+%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
+%global import_path %{provider_prefix}
+
+Name:   golang-%{provider}-%{project}-%{repo}
 Version:0.0.0+git20120409.3cbb2f7
 Release:0
 Summary:A simple, low-level http library for Go
 License:MIT
 Group:  Development/Languages/Other
-Url:https://github.com/hoisie/httplib
-Source: httplib-%{version}.tar.xz
-BuildRequires:  golang-packaging
-BuildRequires: xz
+Url:https://%{provider_prefix}
+Source0:%{repo}-%{version}.tar.xz
+Source1:rpmlintrc
 Provides:  go-httplib.go = %{version}
 Obsoletes: go-httplib.go < %{version}
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-%{go_provides}
+BuildArch:  noarch
 
+BuildRequires:  golang-packaging
+BuildRequires:  xz
+
+%{go_provides}
 
 %description
 httplib.go is a simple extension of Go's http client that provides keep-alive
@@ -43,29 +53,23 @@
 data := ioutil.ReadAll( resp.Body )
 println(string(data))
 
-%gosrc_package
-
 %prep
-%setup -q -n httplib-%{version}
+%setup -q -n %{repo}-%{version}
 
 %build
-%goprep github.com/hoisie/httplib
-%gobuild
+%goprep %{import_path}
+%gobuild .
 
 %install
 %goinstall
 %gosrc
+%gofilelist
 
 %check
-%gotest github.com/hoisie/httplib
+%gotest %{import_path}
 
-%files
+%files -f file.lst
 %defattr(-,root,root,-)
 %doc Readme.md LICENSE
-%{go_contribdir}/*
-
-%files source
-%defattr(-,root,root,-)
-%{go_contribsrcdir}/*
 
 %changelog

++ rpmlintrc ++
# We are aware of that but shorter names are not possible
addFilter("filename-too-long-for-joliet")



commit golang-github-hoisie-httplib for openSUSE:Factory

2015-08-01 Thread h_root
Hello community,

here is the log from the commit of package golang-github-hoisie-httplib for 
openSUSE:Factory checked in at 2015-08-01 11:36:38

Comparing /work/SRC/openSUSE:Factory/golang-github-hoisie-httplib (Old)
 and  /work/SRC/openSUSE:Factory/.golang-github-hoisie-httplib.new (New)


Package is golang-github-hoisie-httplib

Changes:

New Changes file:

--- /dev/null   2015-07-22 21:25:44.928025004 +0200
+++ 
/work/SRC/openSUSE:Factory/.golang-github-hoisie-httplib.new/golang-github-hoisie-httplib.changes
   2015-08-01 11:36:39.0 +0200
@@ -0,0 +1,57 @@
+---
+Sat Jul 25 17:26:08 UTC 2015 - i...@marguerite.su
+
+- rename to golang-github-hoisie-httplib
+- use golang-packaging for packaging
+
+---
+Sat Mar 21 07:24:14 UTC 2015 - i...@marguerite.su
+
+- update version 0.0.0+git20120409.3cbb2f7
+- drop httplib.go-weekly-fixes.patch
+  * upstream contains this fix
+- import changed to github.com/hoisie/httplib
+- remove go_disable_brp_strip_static_archive usage
+
+---
+Tue Aug  6 00:47:14 CEST 2013 - r...@suse.de
+
+- use ExclusiveArch to limit build to the same architectures as go 
+
+---
+Mon Jun 11 10:39:54 UTC 2012 - gra...@andtech.eu
+
+- Update specfile to use new package locaitons
+- Add documentation sub package
+
+---
+Wed Mar  7 21:30:23 UTC 2012 - gra...@andtech.eu
+
+- update spec file to use new Go rpm macros
+
+---
+Fri Feb  3 06:39:44 UTC 2012 - gra...@andtech.eu
+
+- use go install instead of gomake
+
+---
+Tue Dec 13 14:33:48 UTC 2011 - sasc...@suse.de
+
+- Patch to build against weekly.2011-12-02
+
+---
+Thu Oct  6 12:56:40 UTC 2011 - gra...@andtech.eu
+
+- Synch with upstsream fixes for r60
+- add rpmlintrc (ELF strip/static binary warnings)
+
+---
+Mon Jun 27 07:41:46 UTC 2011 - gra...@andtech.eu
+
+- Patch to build against weekly.2011-06-23
+
+---
+Fri Jun 24 12:18:37 UTC 2011 - sasc...@suse.de
+
+- Initial version
+

New:

  _service
  golang-github-hoisie-httplib.changes
  golang-github-hoisie-httplib.spec
  httplib-0.0.0+git20120409.3cbb2f7.tar.xz



Other differences:
--
++ golang-github-hoisie-httplib.spec ++
#
# spec file for package golang-github-hoisie-httplib
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2011 Sascha Peilicke sasc...@gmx.de
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An Open Source License is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name:   golang-github-hoisie-httplib
Version:0.0.0+git20120409.3cbb2f7
Release:0
Summary:A simple, low-level http library for Go
License:MIT
Group:  Development/Languages/Other
Url:https://github.com/hoisie/httplib
Source: httplib-%{version}.tar.xz
BuildRequires:  golang-packaging
BuildRequires:  xz
Provides:   go-httplib.go = %{version}
Obsoletes:  go-httplib.go  %{version}
BuildRoot:  %{_tmppath}/%{name}-%{version}-build
%{go_provides}


%description
httplib.go is a simple extension of Go's http client that provides keep-alive
connections and generic requests. This is a small usage example:

//get the google home page
c := new(httplib.Client)
resp, err := c.Request (http://google.com;, GET, nil, )
data := ioutil.ReadAll( resp.Body )
println(string(data))

%gosrc_package

%prep
%setup -q -n httplib-%{version}

%build
%goprep github.com/hoisie/httplib
%gobuild

%install
%goinstall
%gosrc

%check
%gotest github.com/hoisie/httplib

%files
%defattr(-,root,root,-)
%doc Readme.md LICENSE
%{go_contribdir}/*

%files source
%defattr(-,root,root,-)
%{go_contribsrcdir}/*

%changelog
++ _service ++
services