File computertemp-use-libexecdir.patch of Package computertemp

Index: computertemp-0.9.6.1/configure
===================================================================
--- computertemp-0.9.6.1.orig/configure
+++ computertemp-0.9.6.1/configure
@@ -6669,7 +6669,7 @@ fi
 
 
 
-appletdir=${prefix}/lib/gnome-applets
+appletdir=${libexecdir}
 
 
 ac_config_files="$ac_config_files Makefile computertemp/Makefile computertemp/computertemp_globals.py scripts/Makefile data/Makefile data/computertemp.schemas data/GNOME_ComputertempApplet.server.in images/Makefile po/Makefile.in"
Index: computertemp-0.9.6.1/configure.ac
===================================================================
--- computertemp-0.9.6.1.orig/configure.ac
+++ computertemp-0.9.6.1/configure.ac
@@ -24,7 +24,7 @@ PKG_CHECK_MODULES(GCONF, gconf-2.0)
 AC_PATH_PROG(GCONFTOOL, gconftool-2)
 AM_GCONF_SOURCE_2
 
-appletdir=${prefix}/lib/gnome-applets
+appletdir=${libexecdir}
 AC_SUBST(appletdir)
 
 AC_OUTPUT([
Index: computertemp-0.9.6.1/data/GNOME_ComputertempApplet.server.in
===================================================================
--- computertemp-0.9.6.1.orig/data/GNOME_ComputertempApplet.server.in
+++ computertemp-0.9.6.1/data/GNOME_ComputertempApplet.server.in
@@ -1,7 +1,7 @@
 <oaf_info>
 
 <oaf_server iid="OAFIID:GNOME_ComputertempApplet_Factory" 
-			type="exe" location="NONE/lib/gnome-applets/computertemp">
+			type="exe" location="@LIBEXECDIR@">
 
         <oaf_attribute name="repo_ids" type="stringv">
                 <item value="IDL:Bonobo/GenericFactory:1.0"/>
Index: computertemp-0.9.6.1/scripts/Makefile.am
===================================================================
--- computertemp-0.9.6.1.orig/scripts/Makefile.am
+++ computertemp-0.9.6.1/scripts/Makefile.am
@@ -1,4 +1,4 @@
-appletdir = $(libdir)/gnome-applets
+appletdir = $(libexecdir)
 applet_SCRIPTS = computertemp
 applet_in_file = computertemp.in
 $(applet_SCRIPTS): $(applet_in_file)
Index: computertemp-0.9.6.1/scripts/Makefile.in
===================================================================
--- computertemp-0.9.6.1.orig/scripts/Makefile.in
+++ computertemp-0.9.6.1/scripts/Makefile.in
@@ -163,7 +163,7 @@ am__leading_dot = @am__leading_dot@
 am__quote = @am__quote@
 am__tar = @am__tar@
 am__untar = @am__untar@
-appletdir = $(libdir)/gnome-applets
+appletdir = $(libexecdir)
 bindir = @bindir@
 build = @build@
 build_alias = @build_alias@
openSUSE Build Service is sponsored by