[packages/mksh] up to 59b

atler atler at pld-linux.org
Mon May 18 13:15:09 CEST 2020


commit 57ffb3219b8286a39e5e32de72fab5e78f7cef4e
Author: Jan Palus <atler at pld-linux.org>
Date:   Mon May 18 13:14:46 2020 +0200

    up to 59b

 mksh.spec | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/mksh.spec b/mksh.spec
index 694a022..a0f5ecb 100644
--- a/mksh.spec
+++ b/mksh.spec
@@ -4,15 +4,17 @@
 %bcond_without	static	# static version of mksh
 %bcond_without	tests	# rtchecks and test.sh checks
 
+%define		vernr	%(echo %{version} | tr -d 'a-z')
+
 Summary:	MirBSD Korn Shell
 Summary(pl.UTF-8):	Powłoka Korna z MirBSD
 Name:		mksh
-Version:	59
+Version:	59b
 Release:	1
 License:	BSD
 Group:		Applications/Shells
 Source0:	https://www.mirbsd.org/MirOS/dist/mir/mksh/%{name}-R%{version}.tgz
-# Source0-md5:	995ddf33b4b52d48bb9a648ce996f791
+# Source0-md5:	dce6abffc2036288540b9ba11dfb2ec8
 Source1:	%{name}-mkshrc
 Source2:	get-source.sh
 Patch0:		%{name}-mkshrc_support.patch
@@ -86,7 +88,7 @@ W tym pakiecie jest mksh skonsolidowany statycznie.
 
 # sed rules instead of patch (needed update for every release)
 sed -i -e 's|\(#define.*MKSH_VERSION.*\)"|\1 @DISTRO@"|g' sh.h
-sed -i -e 's|\(KSH R%{version}.*\)|\1 @DISTRO@|g' check.t
+sed -i -e 's|\(KSH R%{vernr}.*\)|\1 @DISTRO@|g' check.t
 
 # fill distro
 sed -i -e 's#@DISTRO@#PLD/Linux 3.0#g' check.t sh.h
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/mksh.git/commitdiff/57ffb3219b8286a39e5e32de72fab5e78f7cef4e



More information about the pld-cvs-commit mailing list