add support for direct execution of compiled scripts
This commit is contained in:
parent
a643db649d
commit
06611a6c2d
8
ksh.spec
8
ksh.spec
@ -6,9 +6,10 @@ URL: http://www.kornshell.com/
|
|||||||
Group: System Environment/Shells
|
Group: System Environment/Shells
|
||||||
License: EPL
|
License: EPL
|
||||||
Version: 20120801
|
Version: 20120801
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Source0: http://www.research.att.com/~gsf/download/tgz/ast-ksh.%{releasedate}.tgz
|
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
|
Source1: http://www.research.att.com/~gsf/download/tgz/INIT.%{releasedate}.tgz
|
||||||
|
Source2: kshcomp.conf
|
||||||
Source3: kshrc.rhs
|
Source3: kshrc.rhs
|
||||||
Source4: dotkshrc
|
Source4: dotkshrc
|
||||||
#expected results of test suite
|
#expected results of test suite
|
||||||
@ -63,6 +64,7 @@ install -c -m 644 arch/*/man/man1/sh.1 $RPM_BUILD_ROOT%{_mandir}/man1/ksh.1
|
|||||||
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/skel
|
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/skel
|
||||||
install -m 644 %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/skel/.kshrc
|
install -m 644 %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/skel/.kshrc
|
||||||
install -m 644 %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/kshrc
|
install -m 644 %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/kshrc
|
||||||
|
install -D -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/binfmt.d/kshcomp.conf
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%if 0%{?rhel} > 6
|
%if 0%{?rhel} > 6
|
||||||
@ -121,11 +123,15 @@ fi
|
|||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
%config(noreplace) %{_sysconfdir}/skel/.kshrc
|
%config(noreplace) %{_sysconfdir}/skel/.kshrc
|
||||||
%config(noreplace) %{_sysconfdir}/kshrc
|
%config(noreplace) %{_sysconfdir}/kshrc
|
||||||
|
%config(noreplace) %{_sysconfdir}/binfmt.d/kshcomp.conf
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Sep 13 2012 Michal Hlavinka <mhlavink@redhat.com> - 20120801-2
|
||||||
|
- add support for direct execution of compiled scripts
|
||||||
|
|
||||||
* Wed Aug 08 2012 Michal Hlavinka <mhlavink@redhat.com> - 20120801-1
|
* Wed Aug 08 2012 Michal Hlavinka <mhlavink@redhat.com> - 20120801-1
|
||||||
- ksh updated to 20120801
|
- ksh updated to 20120801
|
||||||
|
|
||||||
|
1
kshcomp.conf
Normal file
1
kshcomp.conf
Normal file
@ -0,0 +1 @@
|
|||||||
|
':kshcomp:M::\x0b\x13\x08::/bin/ksh:
|
Loading…
Reference in New Issue
Block a user