From d641c4f585002490c0183e39e72884bf799deb64 Mon Sep 17 00:00:00 2001 From: Mamoru Tasaka Date: Dec 16 2007 06:56:06 +0000 Subject: - Pass exception when user don't use evolution for mailer. --- diff --git a/alexandria-0.6.2b2-dont_fail_on_no_evolution.patch b/alexandria-0.6.2b2-dont_fail_on_no_evolution.patch new file mode 100644 index 0000000..3f25c00 --- /dev/null +++ b/alexandria-0.6.2b2-dont_fail_on_no_evolution.patch @@ -0,0 +1,11 @@ +--- alexandria-0.6.2b2/lib/alexandria/ui/completion_models.rb.noevolution 2007-08-23 04:24:56.000000000 +0900 ++++ alexandria-0.6.2b2/lib/alexandria/ui/completion_models.rb 2007-12-16 15:44:13.000000000 +0900 +@@ -71,6 +71,8 @@ + end + rescue LoadError + EVOLUTION_CONTACTS = [] ++rescue Revolution::RevolutionException ++ EVOLUTION_CONTACTS = [] + end + + module Alexandria diff --git a/alexandria.spec b/alexandria.spec index 6846209..c21f5e3 100644 --- a/alexandria.spec +++ b/alexandria.spec @@ -5,7 +5,7 @@ %define majorver 0.6.2 %define minorver b2 -%define fedorarel 3 +%define fedorarel 4 %define rel %{?minorver:0.}%{fedorarel}%{?minorver:.%minorver} @@ -19,6 +19,7 @@ Group: Applications/Productivity License: GPLv2+ URL: http://alexandria.rubyforge.org/ Source0: http://rubyforge.org/frs/download.php/%{repoid}/%{name}-%{version}%{?minorver}.tar.gz +Patch0: alexandria-0.6.2b2-dont_fail_on_no_evolution.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch @@ -63,6 +64,7 @@ Alexandria is a GNOME application to help you manage your book collection. %prep %setup -q -n %{name}-%{majorver}%{?minorver} +%patch0 -p1 -b .noevolution %build rake build @@ -165,6 +167,9 @@ exit 0 %{_datadir}/icons/hicolor/*/apps/%{name}.* %changelog +* Sun Dec 16 2007 Mamoru Tasaka - 0.6.2-0.4.b2 +- Pass exception when user don't use evolution for mailer. + * Wed Dec 12 2007 Mamoru Tasaka - 0.6.2-0.3.b2 - Also require ruby(revolution)