Spec URL: http://people.redhat.com/lmacken/python-mechanize.spec SRPM URL: http://people.redhat.com/lmacken/python-mechanize-0.1.1a-1.src.rpm Description: Stateful programmatic web browsing, after Andy Lester's Perl module WWW::Mechanize. The library is layered: mechanize.Browser (stateful web browser), mechanize.UserAgent (configurable URL opener), plus urllib2 handlers. Features include: ftp:, http: and file: URL schemes, browser history, high-level hyperlink and HTML form support, HTTP cookies, HTTP-EQUIV and Refresh, Referer [sic] header, robots.txt, redirections, proxies, and Basic and Digest HTTP authentication. mechanize's response objects are (lazily-) .seek()able and still work after .close(). Much of the code originally derived from Perl code by Gisle Aas (libwww-perl), Johnny Lee (MSIE Cookie support) and last but not least Andy Lester (WWW::Mechanize). urllib2 was written by Jeremy Hylton.
Needs work: * The package cannot be noarch since it installs files to %{_libdir} * Missing from python spec template: Requires: python-abi = %(%{__python} -c "import sys ; print sys.version[:3]")
Thanks, fixed. http://people.redhat.com/lmacken/python-mechanize.spec http://people.redhat.com/lmacken/python-mechanize-0.1.1a-2.src.rpm
Review for release 2: * RPM name is OK * Source mechanize-0.1.1a.tar.gz is the same as upstream * It is the latest version (checked with the included example :) ) * Builds fine in mock * rpmlint looks OK * File list looks OK * Works fine (tested with the included examples) APPROVED
Imported, FC-{4,5} CVS branches requested, devel branch tagged and build requested. Thanks!