rpms/alexandria/F-10 alexandria-0.6.5-search-result-sanity-check.patch, 1.1, 1.2 alexandria.spec, 1.33, 1.34

Mamoru Tasaka mtasaka at fedoraproject.org
Thu Sep 10 06:09:15 UTC 2009


Author: mtasaka

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

Modified Files:
	alexandria-0.6.5-search-result-sanity-check.patch 
	alexandria.spec 
Log Message:
* Thu Sep 10 2009 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp>
- Fix sanity check patch again...


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-10/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:58 -0000	1.1
+++ alexandria-0.6.5-search-result-sanity-check.patch	10 Sep 2009 06:09:12 -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-10/alexandria.spec,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -p -r1.33 -r1.34
--- alexandria.spec	8 Sep 2009 03:33:30 -0000	1.33
+++ alexandria.spec	10 Sep 2009 06:09:13 -0000	1.34
@@ -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 <mtasaka at ioa.s.u-tokyo.ac.jp>
+- Fix sanity check patch again...
+
 * 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...
 




More information about the scm-commits mailing list