Hello,

Perhaps this is a known issue, but let me report it.
To build an RPM file of laptop-mode-tools ver. 1.60 in Fedora 15
x86_64, I had to change the spec file a little as below.

Thank you for your attentions.
Akira SAITOH
===========================================================================

diff -uNr laptop-mode-tools_1.60/laptop-mode-tools.spec laptop-mode-tools_1.60-spec_modified/laptop-mode-tools.spec --- laptop-mode-tools_1.60/laptop-mode-tools.spec 2011-10-14 16:40:08.000000000 +0900 +++ laptop-mode-tools_1.60-spec_modified/laptop-mode-tools.spec 2012-05-03 14:45:12.245833374 +0900
@@ -3,7 +3,7 @@

 Summary: Tools for power savings based on battery/AC status
 Name: laptop-mode-tools
-Version: 1.59
+Version: 1.60
 Release: 1
 License: GPL
 Group: System Environment/Base
@@ -80,6 +80,7 @@
 %{_sysconfdir}/power/event.d/*
 %{_usr}/sbin/*
 %{_usr}/share/laptop-mode-tools/modules/*
+%{_usr}/share/laptop-mode-tools/module-helpers/*
 %{_usr}/lib/pm-utils/sleep.d/*


@@ -88,7 +89,6 @@
 %dir %{_usr}/sbin
 %dir %{_usr}/lib/pm-utils/sleep.d
 %dir %{_usr}/share/laptop-mode-tools/modules
-%dir %{_usr}/share/laptop-mode-tools/module-helpers/*
 %dir %{_sysconfdir}/apm/event.d
 %dir %{_sysconfdir}/power/scripts.d
 %dir %{_sysconfdir}/power/event.d


_______________________________________________
laptop-mode mailing list
[email protected]
http://mailman.samwel.tk/mailman/listinfo/laptop-mode

Reply via email to