]> git.pld-linux.org Git - packages/mosh.git/commitdiff
bump protobuf requirement to solve symbol errors auto/th/mosh-1.2.5-3
authorElan Ruusamäe <glen@delfi.ee>
Fri, 23 Oct 2015 06:24:40 +0000 (09:24 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Fri, 23 Oct 2015 07:56:59 +0000 (10:56 +0300)
mosh-server: symbol lookup error: mosh-server:
undefined symbol: _ZNK6google8protobuf11MessageLite25InitializationErrorStringEv
google::protobuf::MessageLite::InitializationErrorString() const

mosh.spec

index d046805a99de5d71ea1d03eddb2b98cca5edd8b2..03b99a09beae6517cac995c2b1f90a475b746d6c 100644 (file)
--- a/mosh.spec
+++ b/mosh.spec
 %{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
This page took 0.067735 seconds and 4 git commands to generate.