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.000000000 +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 - [email protected]
+
+- 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 <[email protected]>
#
# All modifications and additions to the file contributed by third parties
@@ -17,21 +17,31 @@
#
-Name: golang-github-hoisie-httplib
+%global provider github
+%global provider_tld com
+%global project hoisie
+%global repo httplib
+%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")