[packages/libgadu] - fixed build with system protobuf-c
qboosh
qboosh at pld-linux.org
Sun Nov 30 21:42:51 CET 2014
commit 21915d41a6e804ef69807236dbad120cdad592e6
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Nov 30 21:42:57 2014 +0100
- fixed build with system protobuf-c
libgadu.spec | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/libgadu.spec b/libgadu.spec
index 92c18bb..74e6284 100644
--- a/libgadu.spec
+++ b/libgadu.spec
@@ -17,11 +17,13 @@ Source0: http://github.com/wojtekka/libgadu/releases/download/%{version}/%{name}
URL: http://toxygen.net/libgadu/
BuildRequires: autoconf >= 2.50
BuildRequires: automake
-%{!?with_openssl:BuildRequires: gnutls-devel}
+%{!?with_openssl:BuildRequires: gnutls-devel >= 2.10.0}
BuildRequires: libtool
%{?with_openssl:BuildRequires: openssl-devel >= 0.9.7d}
+BuildRequires: protobuf-c-devel
BuildRequires: pkgconfig
BuildRequires: zlib-devel
+%{!?with_openssl:Requires: gnutls >= 2.10.0}
Obsoletes: libgg
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -47,7 +49,7 @@ Summary(es.UTF-8): Biblioteca de desarrollo de libgadu
Summary(pl.UTF-8): Część biblioteki libgadu dla programistów
Group: Development/Libraries
Requires: %{name} = %{epoch}:%{version}-%{release}
-%{!?with_openssl:Requires: gnutls-devel}
+%{!?with_openssl:Requires: gnutls-devel >= 2.10.0}
%{?with_openssl:Requires: openssl-devel}
Requires: zlib-devel
Obsoletes: libgg-devel
@@ -93,6 +95,9 @@ Statyczna biblioteka libgadu.
%prep
%setup -q
+# force rebuild
+%{__rm} include/packets.pb-c.h
+
%build
%{__libtoolize}
%{__aclocal} -I m4
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libgadu.git/commitdiff/21915d41a6e804ef69807236dbad120cdad592e6
More information about the pld-cvs-commit
mailing list