]> git.pld-linux.org Git - packages/mosh.git/commitdiff
build with ssh-agent forwarding auto/th/mosh-1.2.4-4
authorElan Ruusamäe <glen@delfi.ee>
Sat, 2 May 2015 13:28:44 +0000 (16:28 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Sat, 2 May 2015 13:30:03 +0000 (16:30 +0300)
https://github.com/keithw/mosh/pull/583
https://github.com/keithw/mosh/pull/423
https://github.com/keithw/mosh/issues/120

mosh.spec

index 20e6d45c68dcde01ca5e688760ae60388244b258..d2f243fed44f3eed862e405244ade15db7486fdc 100644 (file)
--- a/mosh.spec
+++ b/mosh.spec
 Summary:       Mosh mobile shell
 Name:          mosh
 Version:       1.2.4
-Release:       3
+Release:       4
 License:       GPL v3+
 Group:         X11/Applications
 Source0:       http://mosh.mit.edu/%{name}-%{version}.tar.gz
 # Source0-md5: c2d918f4d91fdc32546e2e089f9281b2
 Patch100:      https://github.com/keithw/mosh/compare/%{name}-1.2.4...c6cd99b.patch
 # Patch100-md5:        3e8455f30b5fb6cd7b24a203c00a549c
+Patch0:                https://github.com/keithw/mosh/pull/583.patch
+# Patch0-md5:  7eb14665ef06072591e5bcd80780c0e4
 URL:           http://mosh.mit.edu/
 BuildRequires: autoconf
 BuildRequires: automake
@@ -44,6 +46,8 @@ BuildRoot:    %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 # https://github.com/keithw/mosh/issues/203
 %define                _ssp_cflags     %{nil}
 
+%define                specflags       -Wno-error=non-virtual-dtor
+
 %description
 Remote terminal application that allows roaming, supports intermittent
 connectivity, and provides intelligent local echo and line editing of
@@ -57,6 +61,7 @@ especially over Wi-Fi, cellular, and long-distance links.
 filterdiff -p1 -x 'debian/*' -x 'fedora/*' -x 'macosx/*' %{PATCH100} > branch.diff
 sed -i -e '/^diff /d' branch.diff
 %{__patch} -p1 < branch.diff
+%patch0 -p1
 %{__sed} -i -e '1s,^#!.*perl,#!%{__perl},' scripts/mosh
 
 %build
This page took 0.040354 seconds and 4 git commands to generate.