Hello community,

here is the log from the commit of package nginx-module-vts for 
openSUSE:Factory checked in at 2018-07-10 16:14:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nginx-module-vts (Old)
 and      /work/SRC/openSUSE:Factory/.nginx-module-vts.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "nginx-module-vts"

Tue Jul 10 16:14:36 2018 rev:1 rq:620495 version:0.1.16

Changes:
--------
New Changes file:

--- /dev/null   2018-06-28 02:21:07.430254147 +0200
+++ /work/SRC/openSUSE:Factory/.nginx-module-vts.new/nginx-module-vts.changes   
2018-07-10 16:14:37.685611090 +0200
@@ -0,0 +1,14 @@
+-------------------------------------------------------------------
+Tue Jul  3 16:07:09 UTC 2018 - [email protected]
+
+- Provide explanation why %configure macro cannot be used
+
+-------------------------------------------------------------------
+Mon Jun 25 15:30:03 UTC 2018 - [email protected]
+
+- Make use of %license macro
+
+-------------------------------------------------------------------
+Mon Jun  4 16:09:09 UTC 2018 - [email protected]
+
+- Initial release

New:
----
  nginx-module-vts-0.1.16.tar.gz
  nginx-module-vts.changes
  nginx-module-vts.spec

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

Other differences:
------------------
++++++ nginx-module-vts.spec ++++++
#
# spec file for package nginx-module-vts
#
# Copyright (c) 2018 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
# 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/
#


%define project_name nginx-module-vts
%define nginx_moduledir %{_libdir}/nginx/modules

Name:           nginx-module-vts
Version:        0.1.16
Release:        0
Summary:        Nginx virtual host traffic status module
License:        BSD-2-Clause
Group:          Productivity/Networking/Web/Proxy
Url:            https://github.com/vozlt/%{project_name}
Source:         
https://github.com/vozlt/%{project_name}/archive/v%{version}.tar.gz#/%{project_name}-%{version}.tar.gz
BuildRequires:  nginx-source
Requires:       nginx = %(rpm -q nginx-source | rev | cut -d. --complement -f1 
| cut -d"-" -f2 | rev)

%description
This is an Nginx module that provides access to virtual host status
information. It contains the current status such as servers, upstreams, caches.
This is similar to the live activity monitoring of nginx plus. The built-in html
is also taken from the demo page of old version.

%prep
mkdir %{project_name}
tar -xzf %{SOURCE0} --strip-components=1 -C %{project_name}
cp -r /usr/src/nginx .

%build
cd nginx
# configure macro cannot be used, because this configure script doesn't
# accept some options provided by the macro (like i.e. --host).
./configure                     \
  --with-compat                 \
  --without-http_rewrite_module \
  --without-http_gzip_module    \
  --add-dynamic-module=../%{project_name}
make modules

%install
mkdir -p %{buildroot}%{nginx_moduledir}
install -D -m 0644 nginx/objs/ngx_http_vhost_traffic_status_module.so 
%{buildroot}%{nginx_moduledir}

%files
%license %{project_name}/LICENSE
%dir %{_libdir}/nginx
%dir %{nginx_moduledir}
%{nginx_moduledir}/ngx_http_vhost_traffic_status_module.so

%changelog


Reply via email to