Hello community,

here is the log from the commit of package hawk-apiserver for openSUSE:Factory 
checked in at 2018-03-06 10:48:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/hawk-apiserver (Old)
 and      /work/SRC/openSUSE:Factory/.hawk-apiserver.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "hawk-apiserver"

Tue Mar  6 10:48:46 2018 rev:6 rq:583214 version:0.0.2+git3.7b57e31

Changes:
--------
--- /work/SRC/openSUSE:Factory/hawk-apiserver/hawk-apiserver.changes    
2018-02-07 18:42:08.162152546 +0100
+++ /work/SRC/openSUSE:Factory/.hawk-apiserver.new/hawk-apiserver.changes       
2018-03-06 10:49:25.699644980 +0100
@@ -1,0 +2,7 @@
+Tue Mar 06 07:40:00 UTC 2018 - kgronl...@suse.com
+
+- Update to version 0.0.2+git3.7b57e31:
+  * Add manpage to repository
+- Remove hawk-apiserver.8.gz
+
+-------------------------------------------------------------------

Old:
----
  hawk-apiserver-0.0.2+git2.9d745dc.tar.xz
  hawk-apiserver.8.gz

New:
----
  hawk-apiserver-0.0.2+git3.7b57e31.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ hawk-apiserver.spec ++++++
--- /var/tmp/diff_new_pack.feXhC9/_old  2018-03-06 10:49:26.599612470 +0100
+++ /var/tmp/diff_new_pack.feXhC9/_new  2018-03-06 10:49:26.603612325 +0100
@@ -17,20 +17,22 @@
 
 
 Name:           hawk-apiserver
-Version:        0.0.2+git2.9d745dc
+Version:        0.0.2+git3.7b57e31
 Release:        0
 Summary:        Web server and API provider for Hawk
-License:        GPL-3.0+
+License:        GPL-3.0-or-later
 Group:          Productivity/Clustering/HA
 Url:            https://github.com/krig/hawk-apiserver
 Source:         %{name}-%{version}.tar.xz
-Source1:        hawk-apiserver.8.gz
 Source2:        %{name}-rpmlintrc
 BuildRequires:  golang-packaging
 BuildRequires:  libpacemaker-devel >= 1.1.16
 BuildRequires:  libqb-devel
 BuildRequires:  libxml2-devel
 BuildRequires:  xz
+%if 0%{suse_version} > 1315
+BuildRequires:  golang(API) = 1.8
+%endif
 Requires:       pacemaker >= 1.1.16
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 ExcludeArch:    s390
@@ -55,14 +57,13 @@
 %{goinstall}
 mkdir -p %{buildroot}%{_sbindir}
 mv %{buildroot}%{_bindir}/%{name} %{buildroot}%{_sbindir}/%{name}
-mkdir -p %{buildroot}%{_mandir}/man8
-cp %{S:1} %{buildroot}%{_mandir}/man8/hawk-apiserver.8.gz
+install -Dm0644 man/hawk-apiserver.8 
%{buildroot}%{_mandir}/man8/hawk-apiserver.8
 
 %files
 %defattr(-,root,root)
 %doc README.md LICENSE
 %{_sbindir}/%{name}
-%{_mandir}/man8/hawk-apiserver.8.gz
+%doc %{_mandir}/man8/hawk-apiserver.8.gz
 %if 0%{?suse_version} == 1315
 %exclude 
%go_contribdir/github.com/krig/hawk-apiserver/vendor/github.com/krig/go-pacemaker.a
 %exclude 
%go_contribdir/github.com/krig/hawk-apiserver/vendor/github.com/sirupsen/logrus.a

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.feXhC9/_old  2018-03-06 10:49:26.655610446 +0100
+++ /var/tmp/diff_new_pack.feXhC9/_new  2018-03-06 10:49:26.659610302 +0100
@@ -1,4 +1,4 @@
 <servicedata>
 <service name="tar_scm">
                 <param 
name="url">https://github.com/krig/hawk-apiserver</param>
-              <param 
name="changesrevision">9d745dc7de0ef44a01cbe87521993ac939dbeceb</param></service></servicedata>
\ No newline at end of file
+              <param 
name="changesrevision">7b57e312fc5bbc688deb6d11abf4a5f151a9ee32</param></service></servicedata>
\ No newline at end of file

++++++ hawk-apiserver-0.0.2+git2.9d745dc.tar.xz -> 
hawk-apiserver-0.0.2+git3.7b57e31.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/hawk-apiserver-0.0.2+git2.9d745dc/man/hawk-apiserver.8 
new/hawk-apiserver-0.0.2+git3.7b57e31/man/hawk-apiserver.8
--- old/hawk-apiserver-0.0.2+git2.9d745dc/man/hawk-apiserver.8  1970-01-01 
01:00:00.000000000 +0100
+++ new/hawk-apiserver-0.0.2+git3.7b57e31/man/hawk-apiserver.8  2017-11-21 
14:50:46.000000000 +0100
@@ -0,0 +1,78 @@
+.\" Text automatically generated by txt2man
+.TH hawk-apiserver-0.0.2  "1 January 2017" "" ""
+.SH NAME
+\fBhawk-apiserver \fP- Web server for Hawk, the HA cluster web console
+.SH SYNOPSIS
+.nf
+.fam C
+\fBhawk-apiserver\fP [\fB-config\fP \fIFILE\fP] [\fB-cert\fP \fICERT\fP] 
[\fB-key\fP \fIKEY\fP] [\fB-port\fP \fIPORT\fP]
+
+.fam T
+.fi
+.fam T
+.fi
+.SH DESCRIPTION
+The web server is used by Hawk as a reverse proxy, and also to
+efficiently serve the programmatic cluster API provided by Hawk.
+.SH OPTIONS
+.TP
+.B
+\fB-h\fP
+The option \fB-h\fP displays help.
+.TP
+.B
+\fB-config\fP
+Configuration file in JSON format.
+.TP
+.B
+\fB-cert\fP
+SSL certificate to present.
+.TP
+.B
+\fB-key\fP
+SSL certicicate key to present.
+.TP
+.B
+\fB-port\fP
+TCP port to listen to for connections.
+.TP
+.B
+\fB-loglevel\fP
+Log level (debug|info|warning|error|fatal|panic)
+.SH EXAMPLE
+Below is an example configuration file for Hawk:
+.PP
+.nf
+.fam C
+        {
+          "key": "/etc/hawk/hawk.key",
+          "cert": "/etc/hawk/hawk.pem",
+          "port": 7630,
+          "route": [
+            {
+              "handler": "api/v1",
+              "path": "/api/v1"
+            },
+            {
+              "handler": "monitor",
+              "path": "/monitor"
+            },
+            {
+              "handler": "file",
+              "path": "/",
+              "target": "/srv/www/hawk/public"
+            },
+            {
+              "handler": "proxy",
+              "path": "/",
+              "target": "unix:///var/run/crm/hawk.sock"
+            }
+          ]
+        }
+
+.fam T
+.fi
+.SH SEE ALSO
+\fBpacemakerd\fP(8), \fBcrm\fP(8), \fBcorosync\fP(8).
+.SH AUTHOR
+Kristoffer Gronlund <kgronl...@suse.com>


Reply via email to