summaryrefslogtreecommitdiffstats
path: root/librdkafka.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-01-11 13:25:36 +0100
committerRemi Collet <fedora@famillecollet.com>2016-01-11 13:25:36 +0100
commit866a582e4ef2f11590cfa9a8a67dc11cdd3c2f5f (patch)
treef3f0ce678d694077a81bb11b9d22d6cd8639b07b /librdkafka.spec
parent73845b9c79d7596983593db5239f66cdd6ef29e5 (diff)
librdkafka: add upstream patch for old glibc
Diffstat (limited to 'librdkafka.spec')
-rw-r--r--librdkafka.spec5
1 files changed, 5 insertions, 0 deletions
diff --git a/librdkafka.spec b/librdkafka.spec
index 6843786..778821f 100644
--- a/librdkafka.spec
+++ b/librdkafka.spec
@@ -23,6 +23,8 @@ 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)
@@ -55,6 +57,8 @@ developing applications that use %{name}.
%prep
%setup -qn %{gh_project}-%{gh_commit}
+%patch1 -p1 -b .upstream
+
mkdir rpmdocs
cp -pr examples rpmdocs/examples
@@ -106,6 +110,7 @@ fi
%changelog
* Sat Jan 9 2016 Remi Collet <remi@fedoraproject.org> - 0.9.0-1
- update to 0.9.0
+- add upstream patch for old glibc (RHEL-5)
* Thu May 14 2015 Remi Collet <remi@fedoraproject.org> - 0.8.6-1
- initial package \ No newline at end of file