%define module_name pybugz %define name python-bugz %define release %mkrel 1 Summary: A python and command line interface to Bugzilla Name: %name Version: 0.8.0 Release: %release Source0: http://pybugz.googlecode.com/files/pybugz-%version.tar.gz Patch0: pybugz-really-receive-auth-cookie.patch Patch1: pybugz-properly-modify-bugz.patch License: GPL Group: Development/Python Url: http://code.google.com/p/pybugz/ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot BuildRequires: python-devel BuildArch: noarch Requires: python-elementtree %description PyBugz is a python and command line interface to Bugzilla. It was conceived as a tool to speed up the workflow for Gentoo Linux developers and contributors when dealing with bugs using Bugzilla. By avoiding the clunky web interface, the user quickly search, isolate and contribute to the project very quickly. Developers alike can easily extract attachments and close bugs all from the comfort of the command line. PyBugz is written in Python and written in a way to be extended easily for use on other Bugzillas. %prep %setup -q -n %module_name-%version %patch0 -p1 %patch1 -p1 perl -pi -e 's|http://bugs.gentoo.org/|https://qa.mandriva.com/|' bugz/cli.py %build python setup.py build %install rm -rf $RPM_BUILD_ROOT python setup.py install --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES %clean rm -rf $RPM_BUILD_ROOT %files -f INSTALLED_FILES %defattr(-,root,root) %doc README %changelog * Tue Nov 10 2009 Eugeni Dodonov <eugeni@mandriva.com> 0.8.0-1mdv2010.1 + Revision: 464134 - P0: properly receive auth cookie P1: really modify bugs on newer bugzilla versions + Bogdano Arendartchuk <bogdano@mandriva.com> - new version 0.8.0 * Tue Sep 15 2009 Thierry Vignaud <tvignaud@mandriva.com> 0.6.11-10mdv2010.0 + Revision: 442045 - rebuild * Sat Jan 03 2009 Funda Wang <fundawang@mandriva.org> 0.6.11-9mdv2009.1 + Revision: 323535 - rebuild * Fri Aug 01 2008 Thierry Vignaud <tvignaud@mandriva.com> 0.6.11-8mdv2009.0 + Revision: 259510 - rebuild * Thu Jul 24 2008 Thierry Vignaud <tvignaud@mandriva.com> 0.6.11-7mdv2009.0 + Revision: 247387 - rebuild * Fri Dec 21 2007 Olivier Blin <oblin@mandriva.com> 0.6.11-5mdv2008.1 + Revision: 136447 - restore BuildRoot + Thierry Vignaud <tvignaud@mandriva.com> - kill re-definition of %%buildroot on Pixel's request * Wed Sep 19 2007 Guillaume Rousse <guillomovitch@mandriva.org> 0.6.11-5mdv2008.0 + Revision: 90199 - rebuild * Sun Jul 22 2007 Nicolas Lécureuil <neoclust@mandriva.org> 0.6.11-4mdv2008.0 + Revision: 54477 - Remove unused patch - [BUGFIX] Add Patch 1 to fix bug #31852 (thanks to Gustavo De Nardin) * Mon May 14 2007 Michael Scherer <misc@mandriva.org> 0.6.11-3mdv2008.0 + Revision: 26606 - add patch0, to make it work with python 2.5 and bundled elementtree * Wed Dec 20 2006 Nicolas Lécureuil <neoclust@mandriva.org> 0.6.11-2mdv2007.0 + Revision: 100501 - Rebuild against new python * Wed Sep 27 2006 Michael Scherer <misc@mandriva.org> 0.6.11-1mdv2007.1 + Revision: 62647 - add a Requires on python-elementtree, thanks titi for spotting this - version 0.6.11 - Import python-bugz * Fri Sep 22 2006 Michael Scherer <misc@mandriva.org> 0.6-1mdv2007.0 - first package