[gnome-applets/f16] try to fix BRs

Matthias Clasen mclasen at fedoraproject.org
Wed Aug 31 23:21:02 UTC 2011


commit 28fc315252cf3949b97c5adbd9ef34d234c59a68
Author: Matthias Clasen <mclasen at redhat.com>
Date:   Wed Aug 31 19:20:16 2011 -0400

    try to fix BRs

 gnome-applets-cpupower.patch |   12 ++++++++++++
 gnome-applets.spec           |    5 ++++-
 2 files changed, 16 insertions(+), 1 deletions(-)
---
diff --git a/gnome-applets-cpupower.patch b/gnome-applets-cpupower.patch
new file mode 100644
index 0000000..134a617
--- /dev/null
+++ b/gnome-applets-cpupower.patch
@@ -0,0 +1,12 @@
+diff -up gnome-applets-3.1.90/configure.in.cpupower gnome-applets-3.1.90/configure.in
+--- gnome-applets-3.1.90/configure.in.cpupower	2011-08-31 18:49:00.628945807 -0400
++++ gnome-applets-3.1.90/configure.in	2011-08-31 18:49:17.397946966 -0400
+@@ -518,7 +518,7 @@ AC_CHECK_HEADER(cpufreq.h, have_libcpufr
+ LIBCPUFREQ_LIBS=
+ if test "x$have_libcpufreq" = "xyes"; then
+    AC_DEFINE([HAVE_LIBCPUFREQ], [1], [Have libcpufreq.])
+-   LIBCPUFREQ_LIBS=-lcpufreq
++   LIBCPUFREQ_LIBS=-lcpupower
+ fi
+ AM_CONDITIONAL(HAVE_LIBCPUFREQ, test x$have_libcpufreq = xyes)
+ AC_SUBST(LIBCPUFREQ_LIBS)
diff --git a/gnome-applets.spec b/gnome-applets.spec
index 1952988..bd4f198 100644
--- a/gnome-applets.spec
+++ b/gnome-applets.spec
@@ -42,6 +42,7 @@ URL:		http://www.gnome.org/
 # VCS: git:git://git.gnome.org/gnome-applets
 Source:		http://download.gnome.org/sources/%{name}/3.1/%{name}-%{version}.tar.xz
 Patch0: 0001-Explicitly-link-against-libm.patch
+Patch1: gnome-applets-cpupower.patch
 
 BuildRequires:  glib2-devel >= %{glib2_version}
 BuildRequires:  gtk3-devel >= %{gtk3_version}
@@ -69,10 +70,11 @@ BuildRequires:  libxslt
 BuildRequires:  NetworkManager-devel
 BuildRequires:  libgweather-devel >= %{libgweather_version}
 # For cpufreq
-BuildRequires:	dbus-devel
+BuildRequires:  dbus-devel
 BuildRequires:  polkit-devel >= 0.92
 BuildRequires:  scrollkeeper
 BuildRequires:  libSM-devel
+BuildRequires:  kernel-tools-devel
 
 BuildRequires:  autoconf automake libtool
 
@@ -102,6 +104,7 @@ and more.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 autoreconf -i -f
 


More information about the scm-commits mailing list