mojomojo-1.10-4.fc22 fails to build do to tests: t/formatter_docbook.t ........... ok # Failed test 'Text file is formated' # at t/formatter_file.t line 51. # '<div class="formatter_txt"> # <p>Text file</p> <p><a href="http://mojomojo.org">http://mojomojo.org</a></p></div> # ' # doesn't match '(?^s:<div class="formatter_txt">\n<p>Text file</p> <p><a href="http://mojomojo.org/">http://mojomojo.org</a></p></div>)' # Looks like you failed 1 test of 14. t/formatter_file.t .............. The trailing slash is missing in the URL.
This is caused by upgrading from perl-URI-Find-20140702-1.fc21 to perl-URI-Find-20140709-1.fc22.
From URI-Find changelog: 20140709 Wed Jul 9 16:28:37 PDT 2014 Backwards Incompatibilities * Previously, URIs stringified to their canonical version. Now they stringify as written. This results in less loss of information. For example. "Blah HTTP:://FOO.COM" previously would stringify as "http://foo.com/" and now it will stringify as "HTTP://FOO.COM". To restore the old behavior you can call $uri->canonical. (Schwern)
Reported to upstream <https://github.com/mojomojo/mojomojo/issues/122>.
I will just adjust the test leaving finale decision to upstream. I don't know whether canonizing URIs was in intention, or just an side effect.