From c6bfbd3956a6f809778a2cd5396da24f5f6d63bf Mon Sep 17 00:00:00 2001 From: Mamoru Tasaka Date: Sep 10 2009 06:09:13 +0000 Subject: - Fix sanity check patch again... --- diff --git a/alexandria-0.6.5-search-result-sanity-check.patch b/alexandria-0.6.5-search-result-sanity-check.patch index 257b144..2121449 100644 --- a/alexandria-0.6.5-search-result-sanity-check.patch +++ b/alexandria-0.6.5-search-result-sanity-check.patch @@ -1,13 +1,13 @@ Index: lib/alexandria/book_providers.rb =================================================================== ---- lib/alexandria/book_providers.rb (revision 1085) -+++ lib/alexandria/book_providers.rb (working copy) +--- lib/alexandria/book_providers.rb (revision 1086) ++++ lib/alexandria/book_providers.rb (revision 1087) @@ -46,6 +46,9 @@ self.instance.notify_observers(:searching, factory.fullname) # new results = factory.search(criterion, type) + # sanity check if at least one valid result is actually found -+ results.delete_if { |book, cover| ((!book) || (!cover)) } ++ results.delete_if { |book, cover| book.nil? } + if results.length == 0 self.instance.changed diff --git a/alexandria.spec b/alexandria.spec index 445b8ea..bd90aef 100644 --- a/alexandria.spec +++ b/alexandria.spec @@ -12,7 +12,7 @@ Name: alexandria Version: %{majorver} -Release: %{rel}%{?dist}.1 +Release: %{rel}%{?dist}.2 Summary: Book collection manager Group: Applications/Productivity @@ -219,6 +219,9 @@ exit 0 %{_datadir}/icons/hicolor/*/apps/%{name}.* %changelog +* Thu Sep 10 2009 Mamoru Tasaka +- Fix sanity check patch again... + * Tue Sep 8 2009 Mamoru Tasaka - Wrong patch of sanity check patch applied on F-10/11, fixing...