Hello community,

here is the log from the commit of package rrdtool for openSUSE:Factory checked 
in at 2017-07-08 12:26:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rrdtool (Old)
 and      /work/SRC/openSUSE:Factory/.rrdtool.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rrdtool"

Sat Jul  8 12:26:25 2017 rev:64 rq:508236 version:1.7.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/rrdtool/rrdtool.changes  2017-01-09 
11:50:29.326717680 +0100
+++ /work/SRC/openSUSE:Factory/.rrdtool.new/rrdtool.changes     2017-07-08 
12:26:26.097858919 +0200
@@ -1,0 +2,16 @@
+Mon Jul  3 11:22:55 UTC 2017 - tchva...@suse.com
+
+- Cleanup bit with spec-cleaner
+- Move all BR to the top so it is obvious what is needed for which
+  part
+- Build with latest lua not 5.1
+
+-------------------------------------------------------------------
+Mon Jul  3 11:14:05 UTC 2017 - tchva...@suse.com
+
+- Version update to 1.7.0:
+  * Many coverity scan bugfixes
+  * For full detailed log see CHANGES file
+- Add dependency on python-setuptools for python building
+
+-------------------------------------------------------------------

Old:
----
  rrdtool-1.6.0.tar.gz

New:
----
  rrdtool-1.7.0.tar.gz

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

Other differences:
------------------
++++++ rrdtool.spec ++++++
--- /var/tmp/diff_new_pack.x39rbV/_old  2017-07-08 12:26:26.833755113 +0200
+++ /var/tmp/diff_new_pack.x39rbV/_new  2017-07-08 12:26:26.833755113 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package rrdtool
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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
@@ -20,16 +20,14 @@
 %bcond_without  python
 %bcond_without  ruby
 %bcond_without  tcl
-
 %bcond_without  libdbi
 %bcond_without  libwrap
 %bcond_with     rados
-
 Name:           rrdtool
-Version:        1.6.0
+Version:        1.7.0
 Release:        0
 Summary:        Round Robin Database Tool to store and display time-series data
-License:        GPL-2.0+ and LGPL-2.0+
+License:        GPL-2.0+ AND LGPL-2.0+
 Group:          Productivity/Scientific/Math
 Url:            http://oss.oetiker.ch/rrdtool/
 Source0:        http://oss.oetiker.ch/%{name}/pub/%{name}-%{version}.tar.gz
@@ -41,8 +39,8 @@
 Patch3:         rrdtool-tclsegfault.patch
 # PATCH-FIX-UPSTREAM -- bnc#793636
 Patch12:        rrdtool-zero_vs_nothing.patch
-
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+# Needed for tests
+BuildRequires:  bc
 BuildRequires:  cairo-devel >= 1.2
 BuildRequires:  freetype2-devel
 BuildRequires:  gcc-c++
@@ -57,7 +55,20 @@
 BuildRequires:  pango-devel >= 1.14
 BuildRequires:  systemd-rpm-macros
 BuildRequires:  zlib-devel
-
+Requires:       dejavu
+%if %{with python}
+BuildRequires:  python-devel
+BuildRequires:  python-setuptools
+%endif
+%if %{with lua}
+BuildRequires:  lua-devel
+%endif
+%if %{with ruby}
+BuildRequires:  ruby-devel
+%endif
+%if %{with tcl}
+BuildRequires:  tcl-devel >= 8.0
+%endif
 %if %{with libdbi}
 BuildRequires:  libdbi-devel
 %endif
@@ -68,8 +79,6 @@
 BuildRequires:  librados2-devel
 %endif
 
-Requires:       dejavu
-
 %description
 RRD stands for Round Robin Database. RRD is a system to store and
 display time-series data (i.e. network bandwidth, machine-room temperature,
@@ -79,7 +88,6 @@
 scripts (from shell or Perl) or via frontends that poll network devices and
 put a friendly user interface on it.
 
-
 %package -n librrd8
 Summary:        Round Robin Database tool library
 Group:          System/Libraries
@@ -99,17 +107,15 @@
 server load average). This package allow you to build programs making
 use of the library.
 
-
 %package doc
 Summary:        Documentation for rrdtool
-Group:          Documentation
+Group:          Documentation/Howto
 
 %description doc
 RRD is the Acronym for Round Robin Database. RRD is a system to store and
 display time-series data (i.e. network bandwidth, machine-room temperature,
 server load average). This package contains documentation on using RRD.
 
-
 %package -n perl-%{name}
 Summary:        Perl bindings for RRDtool
 Group:          Development/Languages/Perl
@@ -123,12 +129,10 @@
 
 This package contains the Perl bindings.
 
-
 %if %{with lua}
 %package -n lua-%{name}
 Summary:        Lua bindings for RRDtool
 Group:          Development/Languages/Other
-BuildRequires:  lua51-devel
 Requires:       %{name} = %{version}-%{release}
 
 %description -n lua-%{name}
@@ -143,9 +147,8 @@
 %package -n python-%{name}
 Summary:        Python bindings for RRDtool
 Group:          Development/Languages/Python
-BuildRequires:  python-devel >= 2.3
 Requires:       %{name} = %{version}-%{release}
-Requires:       python >= %{python_version}
+Requires:       python
 
 %description -n python-%{name}
 Python RRDtool bindings.
@@ -155,7 +158,6 @@
 %package -n ruby-%{name}
 Summary:        Ruby bindings for RRDtool
 Group:          Development/Languages/Ruby
-BuildRequires:  ruby-devel
 Requires:       %{name} = %{version}-%{release}
 Requires:       ruby(abi) >= %{rb_ver}
 
@@ -171,7 +173,6 @@
 %package -n tcl-%{name}
 Summary:        Tcl bindings for RRDtool
 Group:          Development/Languages/Tcl
-BuildRequires:  tcl-devel >= 8.0
 Requires:       %{name} = %{version}-%{release}
 Requires:       tcl >= 8.0
 
@@ -189,9 +190,8 @@
 Summary:        Data caching daemon for RRDtool
 Group:          Productivity/Scientific/Math
 Requires:       %{name} = %{version}-%{release}
-Requires(pre):  %fillup_prereq
-Requires(pre):  /usr/sbin/useradd
-Requires(pre):  /usr/sbin/groupadd
+Requires(post): %fillup_prereq
+Requires(pre):  shadow
 
 %description cached
 rrdcached is a daemon that receives updates to existing RRD files,
@@ -200,7 +200,6 @@
 big setups in mind which usually runs into I/O related problems.  This
 daemon was written to alleviate these problems.
 
-
 %prep
 %setup -q
 %patch3
@@ -213,7 +212,11 @@
 find . -name '*.c' -exec sed -i "s/__DATE__/${DATE}/g;s/__TIME__/${TIME}/g" 
"{}" "+"
 
 %build
+# --disable-nls: there is only partial hungarian translation, does not make 
%{?_smp_mflags}
+#                much sense to ship package for it
 %configure \
+        --disable-nls \
+        --disable-silent-rules \
         --enable-shared \
         --disable-static\
         --disable-rpath \
@@ -254,7 +257,7 @@
 
 %install
 make \
-        DESTDIR="%{buildroot}" \
+        DESTDIR=%{buildroot} \
         idocdir=%{_docdir}/%{name}/txt/ \
         ihtmldir=%{_docdir}/%{name}/html/ \
         examplesdir=%{_docdir}/%{name}/examples/ \
@@ -268,19 +271,15 @@
 
 %if %{with lua}
 # install ruby bindings manually
-mv %{buildroot}/usr/local/lib/lua %{buildroot}%{_libdir}/lua
+mv %{buildroot}%{_prefix}/local/lib/lua %{buildroot}%{_libdir}/lua
 %endif
 
 %if %{with ruby}
-# install ruby bindings manually
-%if 0%{?suse_version} == 1310
-rm -r %{buildroot}%{rb_sitearchdir}/*
-%endif
 install -D bindings/ruby/RRD.so %{buildroot}%{rb_sitearchdir}/RRD.so
 %endif
 
 # remove cruft
-find %{buildroot}%{_libdir} -type f -name "*.la" -delete -print
+find %{buildroot} -type f -name "*.la" -delete -print
 
 # documentation
 rm %{buildroot}%{_docdir}/%{name}/txt/*.pod
@@ -299,6 +298,9 @@
 mkdir -p %{buildroot}%{_sbindir}
 ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcrrdcached
 
+%check
+make %{?_smp_mflags} check
+
 %pre cached
 getent group %{rrdcached_group} >/dev/null || groupadd %{rrdcached_group}
 getent passwd %{rrdcached_user} >/dev/null || useradd -s /sbin/nologin -g 
%{rrdcached_group} -c %{rrdcached_user} -d %{_localstatedir}/lib 
%{rrdcached_user}
@@ -307,11 +309,7 @@
 %post cached
 %fillup_only rrdcached
 %service_add_post rrdcached.servicet rrdcached.socket
-%if 0%{?suse_version} <= 1320
-systemd-tmpfiles --create %{_tmpfilesdir}/rddcached.conf >/dev/null 2>&1 || :
-%else
 %tmpfiles_create %{_tmpfilesdir}/rddcached.conf
-%endif
 
 %preun cached
 %service_del_preun rrdcached.service rrdcached.socket
@@ -323,7 +321,6 @@
 %postun -n librrd8 -p /sbin/ldconfig
 
 %files
-%defattr(-,root,root,-)
 %exclude %{_docdir}/%{name}
 %{_mandir}/*/*
 %exclude %{_mandir}/man1/rrdcached*
@@ -332,23 +329,19 @@
 %exclude %{_bindir}/rrdcached
 
 %files -n librrd8
-%defattr(-,root,root)
 %{_libdir}/librrd.so.*
 
 %files devel
-%defattr(-,root,root,-)
 %{_includedir}/*.h
 %{_libdir}/librrd.so
 %{_libdir}/pkgconfig/librrd.pc
 
 %files doc
-%defattr(-,root,root,-)
 %doc CONTRIBUTORS COPYRIGHT NEWS THREADS TODO
 %doc %{_docdir}/rrdtool
 %exclude %{_docdir}/rrdtool/html/RRD*.html
 
 %files -n perl-%{name}
-%defattr(-,root,root,-)
 %doc %{_docdir}/rrdtool/html/RRD*.html
 %{_mandir}/man3/RRD*
 %{perl_vendorlib}/RRDp.pm
@@ -357,7 +350,6 @@
 
 %if %{with lua}
 %files -n lua-%{name}
-%defattr(-,root,root,-)
 %doc bindings/lua/README
 %dir %{_libdir}/lua
 %dir %{_libdir}/lua/*
@@ -367,28 +359,24 @@
 
 %if %{with python}
 %files -n python-%{name}
-%defattr(-,root,root,-)
-%doc bindings/python/AUTHORS bindings/python/COPYING bindings/python/README
+%doc bindings/python/COPYING bindings/python/README.md
 %{py_sitedir}/*
 %endif
 
 %if %{with ruby}
 %files -n ruby-%{name}
-%defattr(-,root,root,-)
 %doc bindings/ruby/README
 %{rb_sitearchdir}/RRD.so
 %endif
 
 %if %{with tcl}
 %files -n tcl-%{name}
-%defattr(-,root,root,-)
 %doc bindings/tcl/README
 %{tcl_archdir}/*
 %{_libdir}/tclrrd*.so
 %endif
 
 %files cached
-%defattr(-,root,root,-)
 %{_mandir}/man1/rrdcached*
 %{_bindir}/rrdcached
 %{_sbindir}/rcrrdcached

++++++ rrdtool-1.6.0.tar.gz -> rrdtool-1.7.0.tar.gz ++++++
++++ 46897 lines of diff (skipped)


Reply via email to