[dbmail/el6] For EL patch reworked for gthread only

Bernard Johnson bjohnson at fedoraproject.org
Mon Mar 19 14:00:42 UTC 2012


commit 6e39d1825be1377efe0f64015f436a8378ea95a7
Author: Bernard Johnson <bjohnson at symetrix.com>
Date:   Mon Mar 19 08:00:18 2012 -0600

    For EL patch reworked for gthread only

 dbmail-3.0.0-glib.patch    |   11 -----------
 dbmail-3.0.2-gthread.patch |   11 +++++++++++
 dbmail.spec                |   11 +++++++----
 3 files changed, 18 insertions(+), 15 deletions(-)
---
diff --git a/dbmail-3.0.2-gthread.patch b/dbmail-3.0.2-gthread.patch
new file mode 100644
index 0000000..13de3bb
--- /dev/null
+++ b/dbmail-3.0.2-gthread.patch
@@ -0,0 +1,11 @@
+diff -Naur dbmail-3.0.2-pristine/configure dbmail-3.0.2/configure
+--- dbmail-3.0.2-pristine/configure	2012-03-11 01:02:30.000000000 -0700
++++ dbmail-3.0.2/configure	2012-03-19 00:11:53.897609797 -0600
+@@ -4768,6 +4768,7 @@
+         { $as_echo "$as_me:${as_lineno-$LINENO}: checking Glib libraries" >&5
+ $as_echo_n "checking Glib libraries... " >&6; }
+ 	ac_glib_libs=`${glibconfig} --libs glib-2.0 --libs gmodule-2.0`
++	ac_glib_libs="$ac_glib_libs -lgthread-2.0"
+ 	if test -z "$ac_glib_libs"
+ 	then
+ 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
diff --git a/dbmail.spec b/dbmail.spec
index a8a6138..fbdcd14 100644
--- a/dbmail.spec
+++ b/dbmail.spec
@@ -2,7 +2,7 @@
 
 Name:           dbmail
 Version:        3.0.2
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        A database backed mail storage system
 
 Group:          System Environment/Daemons
@@ -19,7 +19,7 @@ Source6:        dbmail.logrotate
 Source7:        README.fedora
 Source8:        dbmail.sysconfig
 
-Patch0:         dbmail-3.0.0-glib.patch
+Patch0:         dbmail-3.0.2-gthread.patch
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
@@ -65,9 +65,9 @@ installation and configuration in Fedora.
 %setup -q
 
 %if 0%{?rhel} && 0%{?rhel} > 5
-# Temporary patch - gmime is not adding flags for gmodule or gthread; add to
+# Temporary patch - gmime is not adding flags for gthread; add to
 # glib for now
-%patch0 -p1 -b .glib
+%patch0 -p1 -b .gthread
 %endif
 
 # we don't need README.solaris and we don't want it caught up in the %%doc
@@ -190,6 +190,9 @@ dbmail.
 
 
 %changelog
+* Mon Mar 19 2012 Bernard Johnson <bjohnson at symetrix.com> - 3.0.2-2
+- EL patch reworked for gthread only
+
 * Sun Mar 18 2012 Bernard Johnson <bjohnson at symetrix.com> - 3.0.2-1
 - 3.0.2
 


More information about the scm-commits mailing list