rpms/alexandria/F-11 alexandria-0.6.5-search-result-sanity-check.patch, 1.1, 1.2 alexandria.spec, 1.39, 1.40

Mamoru Tasaka mtasaka at fedoraproject.org
Tue Sep 8 03:33:30 UTC 2009


Author: mtasaka

Update of /cvs/extras/rpms/alexandria/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv8635/F-11

Modified Files:
	alexandria-0.6.5-search-result-sanity-check.patch 
	alexandria.spec 
Log Message:
* Tue Sep  8 2009 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp>
- Wrong patch of sanity check patch applied on F-10/11, fixing...


alexandria-0.6.5-search-result-sanity-check.patch:
 book_providers.rb |    3 +++
 1 file changed, 3 insertions(+)

Index: alexandria-0.6.5-search-result-sanity-check.patch
===================================================================
RCS file: /cvs/extras/rpms/alexandria/F-11/alexandria-0.6.5-search-result-sanity-check.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- alexandria-0.6.5-search-result-sanity-check.patch	19 Aug 2009 22:13:59 -0000	1.1
+++ alexandria-0.6.5-search-result-sanity-check.patch	8 Sep 2009 03:33:30 -0000	1.2
@@ -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


Index: alexandria.spec
===================================================================
RCS file: /cvs/extras/rpms/alexandria/F-11/alexandria.spec,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -p -r1.39 -r1.40
--- alexandria.spec	2 Sep 2009 15:05:56 -0000	1.39
+++ alexandria.spec	8 Sep 2009 03:33:30 -0000	1.40
@@ -12,7 +12,7 @@
 
 Name:		alexandria
 Version:	%{majorver}
-Release:	%{rel}%{?dist}
+Release:	%{rel}%{?dist}.1
 Summary:	Book collection manager
 
 Group:		Applications/Productivity
@@ -219,6 +219,9 @@ exit 0
 %{_datadir}/icons/hicolor/*/apps/%{name}.*
 
 %changelog
+* Tue Sep  8 2009 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp>
+- Wrong patch of sanity check patch applied on F-10/11, fixing...
+
 * Wed Sep  2 2009 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 0.6.5-7
 - Fix for parsing WorldCat provider search result (alexandria-Bugs-27028)
 




More information about the scm-commits mailing list