[systemd] more scriptlet fixes

Ray Strode rstrode at fedoraproject.org
Thu Aug 16 21:02:53 UTC 2012


commit 1041095d1c9f12b63b027e4d10b84964f92b696e
Author: Ray Strode <rstrode at redhat.com>
Date:   Thu Aug 16 17:02:34 2012 -0400

    more scriptlet fixes
    
    (move dm migration logic to %posttrans so the service
    files it's looking for are available at the time
    the logic is run)

 systemd.spec |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/systemd.spec b/systemd.spec
index 6c11869..9cc0644 100644
--- a/systemd.spec
+++ b/systemd.spec
@@ -5,7 +5,7 @@
 Name:           systemd
 Url:            http://www.freedesktop.org/wiki/Software/systemd
 Version:        188
-Release:        2%{?gitcommit:.git%{gitcommit}}%{?dist}
+Release:        3%{?gitcommit:.git%{gitcommit}}%{?dist}
 # For a breakdown of the licensing, see README
 License:        LGPLv2+ and MIT and GPLv2+
 Summary:        A System and Service Manager
@@ -297,6 +297,7 @@ else
         /usr/bin/rm -f /etc/systemd/system/sysinit.target.wants/hwclock-load.service >/dev/null 2>&1 || :
 fi
 
+%posttrans
 # Convert old /etc/sysconfig/desktop settings
 preferred=
 if [ -f /etc/sysconfig/desktop ]; then
@@ -530,6 +531,12 @@ fi
 %{_libdir}/pkgconfig/gudev-1.0*
 
 %changelog
+* Thu Aug 16 2012 Ray Strode <rstrode at redhat.com> 188-3
+- more scriptlet fixes
+  (move dm migration logic to %posttrans so the service
+   files it's looking for are available at the time
+   the logic is run)
+
 * Wed Aug 08 2012 Rex Dieter <rdieter at fedoraproject.org> - 188-2
 - fix scriptlets
 


More information about the scm-commits mailing list