[ksh/f17] fix typo in binfmt config file

Michal Hlavinka mhlavink at fedoraproject.org
Fri Sep 14 11:28:00 UTC 2012


commit 50050e93df39b89efd61e4575d78df9f701b41b8
Author: Michal Hlavinka <mhlavink at redhat.com>
Date:   Fri Sep 14 13:27:56 2012 +0200

    fix typo in binfmt config file
    
    - register binary format after package installation

 ksh.spec     |   10 ++++++++--
 kshcomp.conf |    2 +-
 2 files changed, 9 insertions(+), 3 deletions(-)
---
diff --git a/ksh.spec b/ksh.spec
index 4334ad0..5ee598f 100644
--- a/ksh.spec
+++ b/ksh.spec
@@ -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
@@ -100,6 +100,8 @@ else
         fi
 fi
 
+/bin/systemctl try-restart systemd-binfmt.service >/dev/null 2>&1 || :
+
 %postun
 if [ ! -f /bin/ksh ]; then
 	sed -i '/^\/bin\/ksh$/ d' /etc/shells
@@ -129,7 +131,11 @@ fi
 rm -rf $RPM_BUILD_ROOT
 
 %changelog
-* Thu Sep 13 2012 Michal Hlavinka <mhlavink at redhat.com> - 20120801-1
+* Fri Sep 14 2012 Michal Hlavinka <mhlavink at redhat.com> - 20120801-3
+- fix typo in binfmt config file
+- register binary format after package installation
+
+* Thu Sep 13 2012 Michal Hlavinka <mhlavink at redhat.com> - 20120801-2
 - add support for direct execution of compiled scripts
 
 * Wed Aug 08 2012 Michal Hlavinka <mhlavink at redhat.com> - 20120801-1
diff --git a/kshcomp.conf b/kshcomp.conf
index b795f5b..8caf5ab 100644
--- a/kshcomp.conf
+++ b/kshcomp.conf
@@ -1 +1 @@
-':kshcomp:M::\x0b\x13\x08::/bin/ksh:
+:kshcomp:M::\x0b\x13\x08::/bin/ksh:


More information about the scm-commits mailing list