[upower/f18] the notify-upower script is not installed with dummy backend on s390(x)

Dan Horák sharkcz at fedoraproject.org
Wed Oct 24 16:53:49 UTC 2012


commit 9a9dfdb91e31550a04a7335c9f1fd846547b5fd1
Author: Dan Horák <dan at danny.cz>
Date:   Wed Oct 24 18:53:39 2012 +0200

    the notify-upower script is not installed with dummy backend on s390(x)

 upower.spec |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/upower.spec b/upower.spec
index 94b95ae..c2754b9 100644
--- a/upower.spec
+++ b/upower.spec
@@ -1,7 +1,7 @@
 Summary:        Power Management Service
 Name:           upower
 Version:        0.9.18
-Release:        1%{?dist}
+Release:        2%{?dist}
 License:        GPLv2+
 Group:          System Environment/Libraries
 URL:            http://hal.freedesktop.org/releases/
@@ -83,7 +83,9 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
 %{_datadir}/polkit-1/actions/*.policy
 %{_datadir}/dbus-1/system-services/*.service
 /usr/lib/systemd/system/*.service
+%ifnarch s390 s390x
 /usr/lib/systemd/system-sleep/notify-upower.sh
+%endif
 
 %files devel
 %defattr(-,root,root,-)
@@ -99,6 +101,9 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
 %{_includedir}/libupower-glib/upower.h
 
 %changelog
+* Wed Oct 24 2012 Dan Horák <dan[at]danny.cz> - 0.9.18-2
+- the notify-upower script is not installed with dummy backend on s390(x)
+
 * Tue Oct  9 2012 Matthias Clasen <mclasen at redhat.com> - 0.9.18-1
 - New upstream release
 - Use systemd for suspend and hibernate


More information about the scm-commits mailing list