[mksh] Upgrade mksh to R46

Robert Scheck robert at fedoraproject.org
Sun May 5 13:10:42 UTC 2013


commit 037b08eed784b5cfedce7dcc7d8988427723415a
Author: Robert Scheck <robert at fedoraproject.org>
Date:   Sun May 5 15:10:27 2013 +0200

    Upgrade mksh to R46

 lksh.1    |  279 -------------------------------------------------------------
 mksh.spec |   14 ++--
 sources   |    2 +-
 3 files changed, 9 insertions(+), 286 deletions(-)
---
diff --git a/mksh.spec b/mksh.spec
index 2966b38..0c27c58 100644
--- a/mksh.spec
+++ b/mksh.spec
@@ -1,7 +1,7 @@
 %define _bindir   /bin
 Summary:          MirBSD enhanced version of the Korn Shell
 Name:             mksh
-Version:          45
+Version:          46
 Release:          1%{?dist}
 # BSD (setmode.c), ISC (strlcpy.c), MirOS (the rest)
 License:          MirOS and ISC and BSD
@@ -9,8 +9,7 @@ Group:            System Environment/Shells
 URL:              https://www.mirbsd.de/%{name}.htm
 Source0:          http://www.mirbsd.org/MirOS/dist/mir/%{name}/%{name}-R%{version}.tgz
 Source1:          dot-mkshrc
-Source2:          lksh.1
-Source3:          rtchecks.expected
+Source2:          rtchecks.expected
 Requires(post):   grep
 Requires(postun): sed
 BuildRequires:    util-linux, ed
@@ -77,16 +76,16 @@ rm -rf $RPM_BUILD_ROOT
 install -D -m 755 %{name} $RPM_BUILD_ROOT%{_bindir}/%{name}
 install -D -m 755 lksh $RPM_BUILD_ROOT%{_bindir}/lksh
 install -D -m 644 %{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1/%{name}.1
-install -D -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_mandir}/man1/lksh.1
+install -D -m 644 lksh.1 $RPM_BUILD_ROOT%{_mandir}/man1/lksh.1
 install -D -p -m 644 dot.mkshrc $RPM_BUILD_ROOT%{_sysconfdir}/mkshrc
 install -D -p -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/skel/.mkshrc
 
 %check
 ./mksh rtchecks >rtchecks.got 2>&1
-if ! cmp --quiet rtchecks.got %{SOURCE3}
+if ! cmp --quiet rtchecks.got %{SOURCE2}
 then
   echo "rtchecks failed"
-  diff -Naurp %{SOURCE3} rtchecks.got
+  diff -Naurp %{SOURCE2} rtchecks.got
   exit 1
 fi
 
@@ -125,6 +124,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man1/lksh.1*
 
 %changelog
+* Fri May 03 2013 Thorsten Glaser <tg at mirbsd.org> 46-1
+- Upgrade mksh to R46
+
 * Wed May 01 2013 Thorsten Glaser <tg at mirbsd.org> 45-1
 - Upgrade mksh to R45 and the other files to the accompanying versions
 - Drop workaround for GCC PR55009 (no longer needed)
diff --git a/sources b/sources
index 6590e1a..2075aae 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-d3d90973119ae689d5300b690600e1dc  mksh-R45.tgz
+77c108d8143a6e7670954d77517d216d  mksh-R46.tgz


More information about the scm-commits mailing list