[gkrellm] Explicitly link against gmodule-2.0 to fix building with latest glib

Hans de Goede jwrdegoede at fedoraproject.org
Sun Jan 15 18:30:33 UTC 2012


commit ffa04ca4b580a574a727e586ae696ae797fefd0e
Author: Hans de Goede <hdegoede at redhat.com>
Date:   Sun Jan 15 19:31:41 2012 +0100

    Explicitly link against gmodule-2.0 to fix building with latest glib

 gkrellm.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/gkrellm.spec b/gkrellm.spec
index 0595aae..752a12b 100644
--- a/gkrellm.spec
+++ b/gkrellm.spec
@@ -1,6 +1,6 @@
 Name:           gkrellm
 Version:        2.3.5
-Release:        8%{?dist}
+Release:        9%{?dist}
 Summary:        Multiple stacked system monitors in one process
 License:        GPLv3+
 URL:            http://www.gkrellm.net/
@@ -67,7 +67,7 @@ done
 %build
 make %{?_smp_mflags} INSTALLROOT=%{_prefix} PKGCONFIGDIR=%{_libdir}/pkgconfig \
   INCLUDEDIR=%{_includedir} CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE" \
-  LDFLAGS="$RPM_LD_FLAGS"
+  LDFLAGS="$(pkg-config --libs gmodule-2.0) $RPM_LD_FLAGS"
 
 
 %install
@@ -159,6 +159,9 @@ systemctl daemon-reload &>/dev/null
 
 
 %changelog
+* Sun Jan 15 2012 Hans de Goede <hdegoede at redhat.com> - 2.3.5-8
+- Explicitly link against gmodule-2.0 to fix building with latest glib
+
 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.3.5-8
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 


More information about the scm-commits mailing list