fix typo in binfmt config file
- register binary format after package installation
This commit is contained in:
parent
06611a6c2d
commit
ae81b91215
11
ksh.spec
11
ksh.spec
@ -6,7 +6,7 @@ URL: http://www.kornshell.com/
|
||||
Group: System Environment/Shells
|
||||
License: EPL
|
||||
Version: 20120801
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Source0: http://www.research.att.com/~gsf/download/tgz/ast-ksh.%{releasedate}.tgz
|
||||
Source1: http://www.research.att.com/~gsf/download/tgz/INIT.%{releasedate}.tgz
|
||||
Source2: kshcomp.conf
|
||||
@ -27,7 +27,7 @@ Requires: coreutils, glibc-common, diffutils
|
||||
BuildRequires: bison
|
||||
# regression test suite uses 'ps' from procps
|
||||
BuildRequires: procps
|
||||
Requires(post): grep, coreutils
|
||||
Requires(post): grep, coreutils, systemd-units
|
||||
Requires(preun): grep, coreutils
|
||||
|
||||
%description
|
||||
@ -66,6 +66,9 @@ install -m 644 %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/skel/.kshrc
|
||||
install -m 644 %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/kshrc
|
||||
install -D -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/binfmt.d/kshcomp.conf
|
||||
|
||||
%post
|
||||
/bin/systemctl try-restart systemd-binfmt.service >/dev/null 2>&1 || :
|
||||
|
||||
%check
|
||||
%if 0%{?rhel} > 6
|
||||
%ifarch s390
|
||||
@ -129,6 +132,10 @@ fi
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%changelog
|
||||
* Fri Sep 14 2012 Michal Hlavinka <mhlavink@redhat.com> - 20120801-3
|
||||
- fix typo in binfmt config file
|
||||
- register binary format after package installation
|
||||
|
||||
* Thu Sep 13 2012 Michal Hlavinka <mhlavink@redhat.com> - 20120801-2
|
||||
- add support for direct execution of compiled scripts
|
||||
|
||||
|
@ -1 +1 @@
|
||||
':kshcomp:M::\x0b\x13\x08::/bin/ksh:
|
||||
:kshcomp:M::\x0b\x13\x08::/bin/ksh:
|
||||
|
Loading…
Reference in New Issue
Block a user