[gnome-power-manager/f14/master] let debug output through
Matthias Clasen
mclasen at fedoraproject.org
Wed Sep 29 12:56:11 UTC 2010
commit 9b4ac0c88a1006ea99f668d5067afb9d25ebfe5e
Author: Matthias Clasen <mclasen at redhat.com>
Date: Wed Sep 29 08:30:52 2010 -0400
let debug output through
dont-eat-the-logs.patch | 20 ++++++++++++++++++++
gnome-power-manager.spec | 6 ++++++
2 files changed, 26 insertions(+), 0 deletions(-)
---
diff --git a/dont-eat-the-logs.patch b/dont-eat-the-logs.patch
new file mode 100644
index 0000000..bba9e35
--- /dev/null
+++ b/dont-eat-the-logs.patch
@@ -0,0 +1,20 @@
+diff -up gnome-power-manager-2.32.0/man/Makefile.am.give-me-some-logs-please gnome-power-manager-2.32.0/man/Makefile.am
+--- gnome-power-manager-2.32.0/man/Makefile.am.give-me-some-logs-please 2010-09-29 08:29:19.983923821 -0400
++++ gnome-power-manager-2.32.0/man/Makefile.am 2010-09-29 08:29:33.667924010 -0400
+@@ -12,13 +12,13 @@ endif
+
+ if HAVE_DOCBOOK2MAN
+ gnome-power-manager.1: gnome-power-manager.sgml
+- docbook2man $? &> /dev/null
++ docbook2man $?
+
+ gnome-power-preferences.1: gnome-power-preferences.sgml
+- docbook2man $? &> /dev/null
++ docbook2man $?
+
+ gnome-power-statistics.1: gnome-power-statistics.sgml
+- docbook2man $? &> /dev/null
++ docbook2man $?
+ endif
+
+ clean-local :
diff --git a/gnome-power-manager.spec b/gnome-power-manager.spec
index 1b21ccb..d58a83a 100644
--- a/gnome-power-manager.spec
+++ b/gnome-power-manager.spec
@@ -36,12 +36,18 @@ Requires(postun): scrollkeeper
Obsoletes: gnome-power-manager-extra <= 2.30.1
Provides: gnome-power-manager-extra
+Patch0: dont-eat-the-logs.patch
+BuildRequires: autoconf automake libtool
+
%description
GNOME Power Manager uses the information and facilities provided by UPower
displaying icons and handling user callbacks in an interactive GNOME session.
%prep
%setup -q
+%patch0 -p1 -b .logs
+
+autoreconf -i -f
%build
%configure --disable-scrollkeeper \
More information about the scm-commits
mailing list