From 6b022675590a6fd791cefadfca6bec987b9645ff Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sun, 29 May 2016 17:33:35 +0200 Subject: librdkafka: 0.9.1 --- librdkafka.spec | 23 ++++++++--------------- 1 file changed, 8 insertions(+), 15 deletions(-) (limited to 'librdkafka.spec') diff --git a/librdkafka.spec b/librdkafka.spec index 778821f..ed085bb 100644 --- a/librdkafka.spec +++ b/librdkafka.spec @@ -7,13 +7,13 @@ # Please, preserve the changelog entries # %global libname librdkafka -%global gh_commit 0c15023708302c41a36e95f9650d69c453dfabba +%global gh_commit 2213fb29f98a7a73f22da21ef85e0783f6fd67c4 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner edenhill %global gh_project %{libname} Name: %{libname} -Version: 0.9.0 +Version: 0.9.1 Release: 1%{?dist} Group: System Environment/Libraries Summary: Apache Kafka C/C++ client library @@ -23,8 +23,6 @@ License: BSD and MIT URL: https://github.com/%{gh_owner}/%{gh_project} Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{gh_project}-%{version}-%{gh_short}.tar.gz -Patch1: %{name}-upstream.patch - # i686 required ExcludeArch: i386 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -33,6 +31,7 @@ BuildRequires: cyrus-sasl-devel BuildRequires: zlib-devel BuildRequires: libstdc++-devel BuildRequires: gcc-c++ +BuildRequires: python %description @@ -57,8 +56,6 @@ developing applications that use %{name}. %prep %setup -qn %{gh_project}-%{gh_commit} -%patch1 -p1 -b .upstream - mkdir rpmdocs cp -pr examples rpmdocs/examples @@ -77,14 +74,6 @@ make install DESTDIR=%{buildroot} rm %{buildroot}%{_libdir}/*.a -# https://github.com/edenhill/librdkafka/issues/275 -if test -f %{buildroot}%{_libdir}/pkgconfig/rdkafka.pc -then - : pkgconfig installed, can clean this test -else - install -Dpm 0644 rdkafka.pc %{buildroot}%{_libdir}/pkgconfig/rdkafka.pc -fi - %post -p /sbin/ldconfig %postun -p /sbin/ldconfig @@ -105,12 +94,16 @@ fi %{_libdir}/%{libname}.so %{_libdir}/%{libname}++.so %{_libdir}/pkgconfig/rdkafka.pc +%{_libdir}/pkgconfig/rdkafka++.pc %changelog +* Sun May 29 2016 Remi Collet - 0.9.1-1 +- update to 0.9.1 + * Sat Jan 9 2016 Remi Collet - 0.9.0-1 - update to 0.9.0 - add upstream patch for old glibc (RHEL-5) * Thu May 14 2015 Remi Collet - 0.8.6-1 -- initial package \ No newline at end of file +- initial package -- cgit