From e678e021604d0ee495c8af4a503ad23a2479bc40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaroslav=20=C5=A0karvada?= Date: Thu, 23 Apr 2015 15:47:02 +0200 Subject: [PATCH] New version Resolves: rhbz#1214750 - Dropped python-fix (upstreamed) --- rrdtool-1.5.0-python-fix.patch | 15 --------------- ...lua-5.2.patch => rrdtool-1.5.1-lua-5.2.patch | 9 --------- rrdtool.spec | 17 ++++++++--------- sources | 2 +- 4 files changed, 9 insertions(+), 34 deletions(-) delete mode 100644 rrdtool-1.5.0-python-fix.patch rename rrdtool-1.5.0-lua-5.2.patch => rrdtool-1.5.1-lua-5.2.patch (74%) diff --git a/rrdtool-1.5.0-python-fix.patch b/rrdtool-1.5.0-python-fix.patch deleted file mode 100644 index 9c02138..0000000 --- a/rrdtool-1.5.0-python-fix.patch +++ /dev/null @@ -1,15 +0,0 @@ -diff --git a/bindings/Makefile.am b/bindings/Makefile.am -index bdfee3b..6d34847 100644 ---- a/bindings/Makefile.am -+++ b/bindings/Makefile.am -@@ -38,8 +38,8 @@ install-data-local: - && ( cd ${builddir}/python \ - && env BUILDLIBDIR=${abs_top_builddir}/src/.libs \ - $(PYTHON) ${abs_srcdir}/python/setup.py install \ -- --skip-build --prefix=$(DESTDIR)$(prefix) \ -- --exec-prefix=$(DESTDIR)$(exec_prefix) ) \ -+ --skip-build --root=$(DESTDIR) --prefix=$(prefix) \ -+ --exec-prefix=$(exec_prefix)) \ - || true - - # rules for building the ruby module diff --git a/rrdtool-1.5.0-lua-5.2.patch b/rrdtool-1.5.1-lua-5.2.patch similarity index 74% rename from rrdtool-1.5.0-lua-5.2.patch rename to rrdtool-1.5.1-lua-5.2.patch index 6e2896b..7bbba1e 100644 --- a/rrdtool-1.5.0-lua-5.2.patch +++ b/rrdtool-1.5.1-lua-5.2.patch @@ -29,12 +29,3 @@ index 6d277bf..d0d9ea0 100644 [AC_SEARCH_LIBS(luaL_register, lua$lua_vdot lua$lua_vndot lua, [lua_havelib=LUA$lua_vndot], [AC_SEARCH_LIBS(luaL_module, lualib$lua_vndot lualib$lua_vdot lualib, -@@ -853,7 +853,7 @@ LUA_EOF - done - fi - -- LUA_RRD_LIBDIR="$langpref/lib/lua/$lua_vdot" -+ LUA_RRD_LIBDIR="$libdir/lua/$lua_vdot" - # if lua 5.0 can't find compat-5.1, force installation of - # compat-5.1.lua together with RRDtool. - if test "$lua_vdot" = "5.0" -a "$LUA_HAVE_COMPAT51" != "HAVE_COMPAT51"; then diff --git a/rrdtool.spec b/rrdtool.spec index b77475b..7f9d4d9 100644 --- a/rrdtool.spec +++ b/rrdtool.spec @@ -16,7 +16,7 @@ Summary: Round Robin Database Tool to store and display time-series data Name: rrdtool -Version: 1.5.0 +Version: 1.5.1 Release: 1%{?dist} License: GPLv2+ with exceptions Group: Applications/Databases @@ -27,11 +27,9 @@ Patch1: rrdtool-1.4.4-php54.patch # disable logo for php 5.5. Patch2: rrdtool-1.4.7-php55.patch Patch3: rrdtool-1.5.0-ruby-2-fix.patch -Patch4: rrdtool-1.5.0-lua-5.2.patch +Patch4: rrdtool-1.5.1-lua-5.2.patch # enable php bindings on ppc Patch5: rrdtool-1.4.8-php-ppc-fix.patch -# sent upstream -Patch6: rrdtool-1.5.0-python-fix.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: dejavu-sans-mono-fonts @@ -177,7 +175,6 @@ The %{name}-lua package includes RRDtool bindings for Lua. %endif %patch4 -p1 -b .lua-52 %patch5 -p1 -b .php-ppc-fix -%patch6 -p1 -b .python-fix # Fix to find correct python dir on lib64 %{__perl} -pi -e 's|get_python_lib\(0,0,prefix|get_python_lib\(1,0,prefix|g' \ @@ -197,9 +194,6 @@ The %{name}-lua package includes RRDtool bindings for Lua. # workaround needed due to https://bugzilla.redhat.com/show_bug.cgi?id=211069 cp -p /usr/lib/rpm/config.{guess,sub} php4/ -# Add missing VERSION (reported upstream) -echo %{version} > VERSION - %build ./bootstrap %configure \ @@ -333,7 +327,7 @@ LD_LIBRARY_PATH=%{buildroot}%{_libdir} php -n \ %files %defattr(-,root,root,-) -%doc CONTRIBUTORS COPYRIGHT TODO NEWS CHANGES THREADS +%doc LICENSE CONTRIBUTORS COPYRIGHT TODO NEWS CHANGES THREADS %exclude %{_docdir}/examples %exclude %{_docdir}/doc2/html %exclude %{_docdir}/doc2/txt @@ -403,6 +397,11 @@ LD_LIBRARY_PATH=%{buildroot}%{_libdir} php -n \ %endif %changelog +* Thu Apr 23 2015 Jaroslav Škarvada - 1.5.1-1 +- New version + Resolves: rhbz#1214750 +- Dropped python-fix (upstreamed) + * Mon Apr 20 2015 Jaroslav Škarvada - 1.5.0-1 - New version Resolves: rhbz#1213035 diff --git a/sources b/sources index 0ef09b2..d82bdf7 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -bfdd4347720c67e9e4d8d4e80ba2610d rrdtool-1.5.0.tar.gz 28074a9c368af013462631959ab90558 php4-r1190.tar.gz +422e82e4c4c7251177ee155a1eb5714b rrdtool-1.5.1.tar.gz