diff --git a/alexandria-0.6.2-rh427070.patch b/alexandria-0.6.2-rh427070.patch new file mode 100644 index 0000000..4a01783 --- /dev/null +++ b/alexandria-0.6.2-rh427070.patch @@ -0,0 +1,12 @@ +--- alexandria-0.6.2/lib/alexandria/ui/completion_models.rb.orig 2007-12-20 05:50:47.000000000 +0900 ++++ alexandria-0.6.2/lib/alexandria/ui/completion_models.rb 2007-12-31 10:40:47.000000000 +0900 +@@ -74,6 +74,9 @@ + rescue Revolution::RevolutionException => e + Alexandria::log.warn { e.message } + EVOLUTION_CONTACTS = [] ++rescue ArgumentError => e ++ Alexandria::log.warn { e.message } ++ EVOLUTION_CONTACTS = [] + end + + module Alexandria diff --git a/alexandria.spec b/alexandria.spec index c4fd8f9..5ecdb2d 100644 --- a/alexandria.spec +++ b/alexandria.spec @@ -5,7 +5,7 @@ %define majorver 0.6.2 %undefine minorver -%define fedorarel 1 +%define fedorarel 2 %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.2-rh427070.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 .rh427070 %build rake build @@ -173,6 +175,9 @@ exit 0 %{_datadir}/icons/hicolor/*/apps/%{name}.* %changelog +* Mon Dec 31 2007 Mamoru Tasaka - 0.6.2-2 +- Trial workaround patch for bug 427070 + * Thu Dec 20 2007 Mamoru Tasaka - 0.6.2-1 - 0.6.2 - Two patches for 0.6.2b2 are removed.