commit 70b080ee88fea4ff5138f3f8c40b64b12e4a2b5f
Author: Elan Ruusamäe <[email protected]>
Date:   Fri Oct 23 09:24:40 2015 +0300

    bump protobuf requirement to solve symbol errors
    
    mosh-server: symbol lookup error: mosh-server:
    undefined symbol: 
_ZNK6google8protobuf11MessageLite25InitializationErrorStringEv
    google::protobuf::MessageLite::InitializationErrorString() const

 mosh.spec | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/mosh.spec b/mosh.spec
index d046805..03b99a0 100644
--- a/mosh.spec
+++ b/mosh.spec
@@ -10,11 +10,12 @@
 %{expand:%%define      __cpp   %(echo '%__cpp' | sed -e 's,-gcc,-gcc4,')}
 %endif
 
+%define                protobuf_ver    2.6.1
 %include       /usr/lib/rpm/macros.perl
 Summary:       Mosh mobile shell
 Name:          mosh
 Version:       1.2.5
-Release:       2
+Release:       3
 License:       GPL v3+
 Group:         X11/Applications
 Source0:       http://mosh.mit.edu/%{name}-%{version}.tar.gz
@@ -32,11 +33,12 @@ BuildRequires:      ncurses-devel
 BuildRequires: openssl-devel
 BuildRequires: patchutils
 BuildRequires: pkgconfig
-BuildRequires: protobuf
-BuildRequires: protobuf-devel
+BuildRequires: protobuf >= %{protobuf_ver}
+BuildRequires: protobuf-devel >= %{protobuf_ver}
 BuildRequires: rpm-perlprov >= 4.1-13
 BuildRequires: sed >= 4.0
 BuildRequires: zlib-devel
+Requires:      protobuf-libs >= %{protobuf_ver}
 # gcc4 might be installed, but not current __cc
 %if "%(echo %{cc_version} | cut -d. -f1,2)" < "4.0"
 BuildRequires: __cc >= 4.0
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/mosh.git/commitdiff/70b080ee88fea4ff5138f3f8c40b64b12e4a2b5f

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to