diff --git a/alexandria-0.6.9-z3950-zoom-count.patch b/alexandria-0.6.9-z3950-zoom-count.patch new file mode 100644 index 0000000..03311e3 --- /dev/null +++ b/alexandria-0.6.9-z3950-zoom-count.patch @@ -0,0 +1,13 @@ +--- alexandria-0.6.9/lib/alexandria/book_providers/z3950.rb.zoom_count 2013-08-21 17:23:31.427078416 +0900 ++++ alexandria-0.6.9/lib/alexandria/book_providers/z3950.rb 2013-08-21 16:08:23.424525528 +0900 +@@ -169,7 +169,9 @@ + + conn.preferred_record_syntax = prefs['record_syntax'] + conn.element_set_name = 'F' +- conn.count = conn_count ++ #conn.count = conn_count ++ #conn.count must be string, later ZOOM_options_get_int() changes this into int ++ conn.count = conn_count.to_s + attr = case type + when SEARCH_BY_ISBN then [7] + when SEARCH_BY_TITLE then [4] diff --git a/alexandria.spec b/alexandria.spec index 27ed336..e938578 100644 --- a/alexandria.spec +++ b/alexandria.spec @@ -8,14 +8,14 @@ %undefine minorver %undefine ifpre -%define fedorarel 5 +%define fedorarel 6 %define rel %{?ifpre:0.}%{fedorarel}%{?minorver:.%minorver} Name: alexandria Version: %{majorver} -Release: %{rel}%{?dist}.1 +Release: %{rel}%{?dist} Summary: Book collection manager Group: Applications/Productivity @@ -83,6 +83,9 @@ Patch23: alexandria-0.6.9-delete-broken-yaml.patch Patch24: alexandria-0.6.9-iconv.patch # Handle the case thread was not created with adding new book Patch25: alexandria-0.6.9-newbook-nothread.patch +# Make z3950 provider work +# ZOOM::Connection.count must be string +Patch26: alexandria-0.6.9-z3950-zoom-count.patch BuildArch: noarch @@ -169,6 +172,7 @@ Alexandria is a GNOME application to help you manage your book collection. %patch23 -p1 -b .delete_yaml %patch24 -p1 -b .iconv %patch25 -p1 -b .nothread +%patch26 -p1 -b .z3950_count # Embed Fedora EVR %{__sed} -i.evr \ @@ -265,6 +269,10 @@ exit 0 %{_datadir}/icons/hicolor/*/apps/%{name}.* %changelog +* Wed Aug 21 2013 Mamoru TASAKA - 0.6.9-6 +- Change ZOOM::Connection.count to string to make z3950 provider + work again + * Sat Aug 03 2013 Fedora Release Engineering - 0.6.9-5.1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild