From 7538e61229075b4e37ad15f3de459f51c9febdb8 Mon Sep 17 00:00:00 2001 From: Vincent Mihalkovic Date: Wed, 21 Jun 2023 14:14:22 +0200 Subject: [PATCH] new upstream release Resolves: rhbz#2213483 --- .gitignore | 1 + ksh.spec | 20 +++++++++----------- sources | 2 +- 3 files changed, 11 insertions(+), 12 deletions(-) diff --git a/.gitignore b/.gitignore index c63eeb9..689fab4 100644 --- a/.gitignore +++ b/.gitignore @@ -66,3 +66,4 @@ INIT.2010-07-01.tgz /ksh-1.0.2.tar.gz /ksh-1.0.3.tar.gz /ksh-1.0.4.tar.gz +/ksh-1.0.6.tar.gz diff --git a/ksh.spec b/ksh.spec index e33d0c1..999d790 100644 --- a/ksh.spec +++ b/ksh.spec @@ -3,8 +3,8 @@ Summary: The Original ATT Korn Shell URL: http://www.kornshell.com/ License: EPL-2.0 Epoch: 3 -Version: 1.0.4 -Release: 3%{?dist} +Version: 1.0.6 +Release: 1%{?dist} Source0: https://github.com/ksh93/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz Source1: kshcomp.conf Source2: kshrc.rhs @@ -34,12 +34,9 @@ with "sh" (the Bourne Shell). # /dev/fd test does not work because of mock sed -i 's|ls /dev/fd|ls /proc/self/fd|' src/cmd/ksh93/features/options -# disable register for debugging -sed -i 1i"#define register" src/lib/libast/include/ast.h - %build XTRAFLAGS="" -for f in -Wno-unknown-pragmas -Wno-missing-braces -Wno-unused-result -Wno-return-type -Wno-int-to-pointer-cast -Wno-parentheses -Wno-unused -Wno-unused-but-set-variable -Wno-cpp -Wno-maybe-uninitialized -Wno-lto-type-mismatch -P +for f in -Wno-unknown-pragmas -Wno-missing-braces -Wno-unused-result -Wno-return-type -Wno-int-to-pointer-cast -Wno-parentheses -Wno-unused -Wno-unused-but-set-variable -Wno-cpp -Wno-maybe-uninitialized -Wno-lto-type-mismatch do $CC $f -E - /dev/null 2>&1 && XTRAFLAGS="$XTRAFLAGS $f" done @@ -48,9 +45,6 @@ export LDFLAGS="$RPM_LD_FLAGS" bin/package make %install -# TODO -# bin/package install - mkdir -p %{buildroot}{%{_bindir},%{_mandir}/man1} install -p -m 755 arch/*/bin/ksh %{buildroot}%{_bindir}/ksh93 install -p -m 755 arch/*/bin/shcomp %{buildroot}%{_bindir}/shcomp @@ -130,13 +124,17 @@ fi %ghost %{_bindir}/rksh %{_bindir}/shcomp %{_mandir}/man1/ksh93.1* -%ghost %{_mandir}/man1/ksh.1.gz -%ghost %{_mandir}/man1/rksh.1.gz +%ghost %{_mandir}/man1/ksh.1* +%ghost %{_mandir}/man1/rksh.1* %config(noreplace) %{_sysconfdir}/skel/.kshrc %config(noreplace) %{_sysconfdir}/kshrc %config(noreplace) %{_sysconfdir}/binfmt.d/kshcomp.conf %changelog +* Wed Jun 21 2023 Vincent Mihalkovic - 3:1.0.6-2 +- new upstream release + Resolves: rhbz#2213483 + * Thu Apr 13 2023 Lukáš Zaoral - 3:1.0.4-3 - migrate to SPDX license format diff --git a/sources b/sources index 4eb2703..b53951c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (ksh-1.0.4.tar.gz) = ca6ff4625a48a991d07a34c8d28656c131124e6cccbb495d8fbc2922db9f94a83c1df2be17a7fa7aa39ce5b9243573b0b806eef87d11c5a2936e7af564d2f5e6 +SHA512 (ksh-1.0.6.tar.gz) = df21b44981701a8e309776bae20df85d5e805bbd4e565259298ebbae1f3ef2c2e9a6e7bd485a8c9ed8a8e41818cedd75a722898f26b8430d830cc199df120dab