forked from pool/rrdtool
Accepting request 732614 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/732614 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rrdtool?expand=0&rev=70
This commit is contained in:
commit
e1badcaa88
@ -1,29 +0,0 @@
|
|||||||
diff --git a/etc/Makefile.am b/etc/Makefile.am
|
|
||||||
index ab763dc..7d18178 100644
|
|
||||||
--- a/etc/Makefile.am
|
|
||||||
+++ b/etc/Makefile.am
|
|
||||||
@@ -3,6 +3,6 @@ EXTRA_DIST = rrdcached-default-redhat rrdcached-init-redhat rrdcached-default-ls
|
|
||||||
|
|
||||||
if HAVE_SYSTEMD
|
|
||||||
systemdsystemunit_DATA = \
|
|
||||||
- etc/rrdcached.socket \
|
|
||||||
- etc/rrdcached.service
|
|
||||||
+ rrdcached.socket \
|
|
||||||
+ rrdcached.service
|
|
||||||
endif
|
|
||||||
\ No newline at end of file
|
|
||||||
diff --git a/etc/Makefile.in b/etc/Makefile.in
|
|
||||||
index 74b914b..d512fd5 100644
|
|
||||||
--- a/etc/Makefile.in
|
|
||||||
+++ b/etc/Makefile.in
|
|
||||||
@@ -368,8 +368,8 @@ EXTRA_DIST = rrdcached-default-redhat rrdcached-init-redhat rrdcached-default-ls
|
|
||||||
rrdcached.socket.in rrdcached.service.in
|
|
||||||
|
|
||||||
@HAVE_SYSTEMD_TRUE@systemdsystemunit_DATA = \
|
|
||||||
-@HAVE_SYSTEMD_TRUE@ etc/rrdcached.socket \
|
|
||||||
-@HAVE_SYSTEMD_TRUE@ etc/rrdcached.service
|
|
||||||
+@HAVE_SYSTEMD_TRUE@ rrdcached.socket \
|
|
||||||
+@HAVE_SYSTEMD_TRUE@ rrdcached.service
|
|
||||||
|
|
||||||
all: all-am
|
|
||||||
|
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:989b778eda6967aa5192c73abafe43e7b10e6100776971a7e79d249942781aae
|
|
||||||
size 2881346
|
|
3
rrdtool-1.7.2.tar.gz
Normal file
3
rrdtool-1.7.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:a199faeb7eff7cafc46fac253e682d833d08932f3db93a550a4a5af180ca58db
|
||||||
|
size 2883737
|
@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Sep 22 16:40:00 UTC 2019 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- rrdtool 1.7.2:
|
||||||
|
* fix segfault on non-existent RRD file when using rrdcached
|
||||||
|
* fix bounds handling, documentation and checking on rrdtool xport
|
||||||
|
* Fix %s/%S unit autoscaling in gprint for json/xml
|
||||||
|
* Optimized PDP Calculation
|
||||||
|
- drop rrdtool-1.7.1-compile_fix.patch, upstream
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Feb 13 10:09:13 UTC 2019 - kstreitova@suse.com
|
Wed Feb 13 10:09:13 UTC 2019 - kstreitova@suse.com
|
||||||
|
|
||||||
|
30
rrdtool.spec
30
rrdtool.spec
@ -12,15 +12,18 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define python python
|
||||||
|
%if 0%{?suse_version} >= 1500
|
||||||
|
%define python python3
|
||||||
|
%endif
|
||||||
#Compat macro for new _fillupdir macro introduced in Nov 2017
|
#Compat macro for new _fillupdir macro introduced in Nov 2017
|
||||||
%if ! %{defined _fillupdir}
|
%if ! %{defined _fillupdir}
|
||||||
%define _fillupdir /var/adm/fillup-templates
|
%define _fillupdir %{_localstatedir}/adm/fillup-templates
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%bcond_without lua
|
%bcond_without lua
|
||||||
%bcond_without python
|
%bcond_without python
|
||||||
%bcond_without ruby
|
%bcond_without ruby
|
||||||
@ -28,18 +31,14 @@
|
|||||||
%bcond_without libdbi
|
%bcond_without libdbi
|
||||||
%bcond_without libwrap
|
%bcond_without libwrap
|
||||||
%bcond_with rados
|
%bcond_with rados
|
||||||
%define python python
|
|
||||||
%if 0%{?suse_version} >= 1500
|
|
||||||
%define python python3
|
|
||||||
%endif
|
|
||||||
Name: rrdtool
|
Name: rrdtool
|
||||||
Version: 1.7.1
|
Version: 1.7.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Round Robin Database Tool to store and display time-series data
|
Summary: Round Robin Database Tool to store and display time-series data
|
||||||
License: GPL-2.0-or-later AND LGPL-2.0-or-later
|
License: GPL-2.0-or-later AND LGPL-2.0-or-later
|
||||||
Group: Productivity/Scientific/Math
|
Group: Productivity/Scientific/Math
|
||||||
Url: http://oss.oetiker.ch/rrdtool/
|
URL: https://oss.oetiker.ch/rrdtool/
|
||||||
Source0: http://oss.oetiker.ch/%{name}/pub/%{name}-%{version}.tar.gz
|
Source0: https://oss.oetiker.ch/%{name}/pub/%{name}-%{version}.tar.gz
|
||||||
Source2: sysconfig.rrdcached
|
Source2: sysconfig.rrdcached
|
||||||
Source4: rrdcached-systemd-pre
|
Source4: rrdcached-systemd-pre
|
||||||
Source5: rrdcached.service
|
Source5: rrdcached.service
|
||||||
@ -48,10 +47,6 @@ Source99: %{name}.changes
|
|||||||
Patch3: rrdtool-tclsegfault.patch
|
Patch3: rrdtool-tclsegfault.patch
|
||||||
# PATCH-FIX-UPSTREAM -- bnc#793636
|
# PATCH-FIX-UPSTREAM -- bnc#793636
|
||||||
Patch12: rrdtool-zero_vs_nothing.patch
|
Patch12: rrdtool-zero_vs_nothing.patch
|
||||||
%if 0%{?suse_version} >= 1500
|
|
||||||
Patch13: python3.patch
|
|
||||||
%endif
|
|
||||||
Patch14: rrdtool-1.7.1-compile_fix.patch
|
|
||||||
# Needed for tests
|
# Needed for tests
|
||||||
BuildRequires: bc
|
BuildRequires: bc
|
||||||
BuildRequires: cairo-devel >= 1.2
|
BuildRequires: cairo-devel >= 1.2
|
||||||
@ -69,6 +64,9 @@ BuildRequires: pango-devel >= 1.14
|
|||||||
BuildRequires: systemd-rpm-macros
|
BuildRequires: systemd-rpm-macros
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: zlib-devel
|
||||||
Requires: dejavu
|
Requires: dejavu
|
||||||
|
%if 0%{?suse_version} >= 1500
|
||||||
|
Patch13: python3.patch
|
||||||
|
%endif
|
||||||
%if %{with python}
|
%if %{with python}
|
||||||
BuildRequires: %{python}-devel
|
BuildRequires: %{python}-devel
|
||||||
BuildRequires: %{python}-setuptools
|
BuildRequires: %{python}-setuptools
|
||||||
@ -220,7 +218,6 @@ daemon was written to alleviate these problems.
|
|||||||
%if 0%{?suse_version} >= 1500
|
%if 0%{?suse_version} >= 1500
|
||||||
%patch13 -p1
|
%patch13 -p1
|
||||||
%endif
|
%endif
|
||||||
%patch14 -p1
|
|
||||||
|
|
||||||
# rrd_tool/rrd_cgi: use the date of the last change
|
# rrd_tool/rrd_cgi: use the date of the last change
|
||||||
modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{_sourcedir}/%{name}.changes")"
|
modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{_sourcedir}/%{name}.changes")"
|
||||||
@ -379,7 +376,8 @@ getent passwd %{rrdcached_user} >/dev/null || useradd -s /sbin/nologin -g %{rrdc
|
|||||||
|
|
||||||
%if %{with python}
|
%if %{with python}
|
||||||
%files -n %{python}-%{name}
|
%files -n %{python}-%{name}
|
||||||
%doc bindings/python/COPYING bindings/python/README.md
|
%license bindings/python/COPYING
|
||||||
|
%doc bindings/python/README.md
|
||||||
%if 0%{?suse_version} >= 1500
|
%if 0%{?suse_version} >= 1500
|
||||||
%{python3_sitearch}/*
|
%{python3_sitearch}/*
|
||||||
%else
|
%else
|
||||||
|
Loading…
Reference in New Issue
Block a user