[pm-utils] - Remove the powersave fragments (#667129, #667131, #667132)

Matthew Garrett mjg59 at fedoraproject.org
Tue Jan 4 15:51:00 UTC 2011


commit 85406683a23d6c31eed7c6bd21526e3578c3b4f9
Author: Matthew Garrett <mjg at redhat.com>
Date:   Tue Jan 4 10:50:39 2011 -0500

    - Remove the powersave fragments (#667129, #667131, #667132)

 pm-utils.spec |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/pm-utils.spec b/pm-utils.spec
index d9ce463..f3e8698 100644
--- a/pm-utils.spec
+++ b/pm-utils.spec
@@ -3,7 +3,7 @@ Name: pm-utils
 Summary: Power management utilities and scripts for Fedora
 License: GPLv2
 Version: 1.4.1
-Release: 3%{?dist}
+Release: 4%{?dist}
 Group: System Environment/Base
 URL: http://pm-utils.freedesktop.org
 # for chvt
@@ -59,6 +59,9 @@ install -D -m 0755 %{SOURCE23} $RPM_BUILD_ROOT%{_sbindir}/pm-utils-bugreport-inf
 # Install quirks
 cp -r video-quirks $RPM_BUILD_ROOT%{_libdir}/pm-utils
 
+# These break more than they helps, so drop them for now
+rm $RPM_BUILD_ROOT%{_libdir}/pm-utils/power.d/*
+
 %preun
 # Clean storage to prevent left-behind files. These files are dynamically
 # created in runtime (also with dynamic names), thus it is hard to track
@@ -73,7 +76,6 @@ rm -rf %{_localstatedir}/run/pm-utils/{pm-suspend,pm-powersave}/storage/*
 %{_libdir}/pm-utils/functions
 %{_libdir}/pm-utils/module.d/*
 %{_libdir}/pm-utils/pm-functions
-%{_libdir}/pm-utils/power.d/*
 %{_libdir}/pm-utils/sleep.d/*
 %{_bindir}/on_ac_power
 %{_bindir}/pm-is-supported
@@ -98,6 +100,9 @@ rm -rf %{_localstatedir}/run/pm-utils/{pm-suspend,pm-powersave}/storage/*
 %{_libdir}/pkgconfig/pm-utils.pc
 
 %changelog
+* Tue Jan 04 2011 Matthew Garrett <mjg at redhat.com> - 1.4.1-4
+- Remove the powersave fragments (#667129, #667131, #667132)
+
 * Tue Dec 07 2010 Jaroslav Škarvada <jskarvad at redhat.com> - 1.4.1-3
 - Used append instead of write for init_logfile (#660329)
 - Fixed and ghosted /var/run/pm-utils (#656668)


More information about the scm-commits mailing list