[squirrelmail] use utf-8 encoding by default (#745382)

Michal Hlavinka mhlavink at fedoraproject.org
Mon Dec 12 14:38:17 UTC 2011


commit e82ee50e3d4f51ec78fe51348f9bff3a3254aa1a
Author: Michal Hlavinka <mhlavink at redhat.com>
Date:   Mon Dec 12 15:38:14 2011 +0100

    use utf-8 encoding by default (#745382)

 squirrelmail.spec |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/squirrelmail.spec b/squirrelmail.spec
index e4cd6c8..b9ff9d2 100644
--- a/squirrelmail.spec
+++ b/squirrelmail.spec
@@ -6,7 +6,7 @@
 Summary: webmail client written in php
 Name: squirrelmail
 Version: 1.4.22
-Release: 2%{?dist}
+Release: 3%{?dist}
 License: GPLv2+
 URL: http://www.squirrelmail.org/
 Group: Applications/Internet
@@ -63,6 +63,9 @@ pushd locale_tempdir
 tar xfj %SOURCE4
 popd
 
+#use utf-8 by default
+sed -i 's/^ *\($default_charset *=\).*$/'"\1 'utf-8';/" config/config_default.php
+
 
 %build
 rm -f plugins/make_archive.pl
@@ -268,6 +271,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_sysconfdir}/cron.daily/squirrelmail.cron
 
 %changelog
+* Mon Dec 12 2011 Michal Hlavinka <mhlavink at redhat.com> - 1.4.22-3
+- use utf-8 encoding by default (#745382)
+
 * Wed Jul 13 2011 Michal Hlavinka <mhlavink at redhat.com> - 1.4.22-2
 - fix possible php warning
 


More information about the scm-commits mailing list