packages: mosh/mosh.spec - generate perl deps, now IO::Pty solved properly
glen
glen at pld-linux.org
Sat Apr 21 20:20:36 CEST 2012
Author: glen Date: Sat Apr 21 18:20:36 2012 GMT
Module: packages Tag: HEAD
---- Log message:
- generate perl deps, now IO::Pty solved properly
---- Files affected:
packages/mosh:
mosh.spec (1.2 -> 1.3)
---- Diffs:
================================================================
Index: packages/mosh/mosh.spec
diff -u packages/mosh/mosh.spec:1.2 packages/mosh/mosh.spec:1.3
--- packages/mosh/mosh.spec:1.2 Sat Apr 21 19:30:18 2012
+++ packages/mosh/mosh.spec Sat Apr 21 20:20:31 2012
@@ -1,8 +1,9 @@
# $Revision$, $Date$
+%include /usr/lib/rpm/macros.perl
Summary: Mosh mobile shell
Name: mosh
Version: 1.1.3
-Release: 0.2
+Release: 0.5
License: GPL v3+
Group: X11/Applications
Source0: https://github.com/downloads/keithw/mosh/%{name}-%{version}.tar.gz
@@ -12,8 +13,9 @@
BuildRequires: libutempter-devel
BuildRequires: ncurses-devel
BuildRequires: protobuf-devel
+BuildRequires: rpm-perlprov >= 4.1-13
+BuildRequires: sed >= 4.0
BuildRequires: zlib-devel
-Requires: perl-IO-Pty
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -26,6 +28,7 @@
%prep
%setup -q
+%{__sed} -i -e '1s,^#!.*perl,#!%{__perl},' scripts/mosh
%build
%configure \
@@ -56,6 +59,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.3 2012/04/21 18:20:31 glen
+- generate perl deps, now IO::Pty solved properly
+
Revision 1.2 2012/04/21 17:30:18 glen
- deps should be autogenerated; remove template leftovers
================================================================
---- CVS-web:
http://cvs.pld-linux.org/packages/mosh/mosh.spec?r1=1.2&r2=1.3
More information about the pld-cvs-commit
mailing list