commit fba8e0363d9e476cd288ad5f1961c2c9c8248b1f
Author: Jakub Bogusz <qbo...@pld-linux.org>
Date:   Mon May 7 21:13:09 2018 +0200

    - updated to 1.10.2
    - added dep patch (missing client code dependency on updated proto header)

 riemann-c-client-dep.patch | 10 ++++++++++
 riemann-c-client.spec      | 12 +++++++-----
 2 files changed, 17 insertions(+), 5 deletions(-)
---
diff --git a/riemann-c-client.spec b/riemann-c-client.spec
index 40d0b9a..0a31147 100644
--- a/riemann-c-client.spec
+++ b/riemann-c-client.spec
@@ -5,12 +5,14 @@
 Summary:       Riemann client library
 Summary(pl.UTF-8):     Biblioteka kliencka Riemann
 Name:          riemann-c-client
-Version:       1.8.0
-Release:       4
+Version:       1.10.2
+Release:       1
 License:       LGPL v3+
 Group:         Libraries
+#Source0Download: https://github.com/algernon/riemann-c-client/releases
 Source0:       
https://github.com/algernon/riemann-c-client/archive/%{name}-%{version}.tar.gz
-# Source0-md5: a34ab2ab8df56c4b4e30861a425f8c8d
+# Source0-md5: 0bc0f9e8ee5d8274f91544086bd43a73
+Patch0:                %{name}-dep.patch
 URL:           https://github.com/algernon/riemann-c-client
 BuildRequires: autoconf >= 2.50
 BuildRequires: automake
@@ -61,6 +63,7 @@ Statyczna biblioteka riemann-client.
 
 %prep
 %setup -q -n %{name}-%{name}-%{version}
+%patch0 -p1
 
 %build
 %{__libtoolize}
@@ -72,8 +75,7 @@ Statyczna biblioteka riemann-client.
        --disable-silent-rules \
        %{!?with_static_libs:--disable-static}
 
-# -j1: compile/generation race on riemann/proto/riemann.pb-c.h file
-%{__make} -j1
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
diff --git a/riemann-c-client-dep.patch b/riemann-c-client-dep.patch
new file mode 100644
index 0000000..41bc644
--- /dev/null
+++ b/riemann-c-client-dep.patch
@@ -0,0 +1,10 @@
+--- riemann-c-client-riemann-c-client-1.10.2/Makefile.am.orig  2017-08-19 
09:35:55.000000000 +0200
++++ riemann-c-client-riemann-c-client-1.10.2/Makefile.am       2018-05-07 
19:39:10.293103718 +0200
+@@ -102,6 +102,7 @@
+ bin_PROGRAMS                  = \
+       src/riemann-client
+ 
++$(src_riemann_client_OBJECTS): ${proto_files}
+ src_riemann_client_CFLAGS     = $(AM_CFLAGS) $(JSON_C_CFLAGS) 
${PROTOBUF_C_CFLAGS}
+ src_riemann_client_LDADD      = $(JSON_C_LIBS) $(LDADD)
+ src_riemann_client_EXTRA_DIST = \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/riemann-c-client.git/commitdiff/fba8e0363d9e476cd288ad5f1961c2c9c8248b1f

_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to