Hello community, here is the log from the commit of package python-bugzilla for openSUSE:Factory checked in at 2016-07-20 09:20:35 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-bugzilla (Old) and /work/SRC/openSUSE:Factory/.python-bugzilla.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-bugzilla" Changes: -------- --- /work/SRC/openSUSE:Factory/python-bugzilla/python-bugzilla.changes 2015-01-14 11:45:56.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.python-bugzilla.new/python-bugzilla.changes 2016-07-20 09:20:40.000000000 +0200 @@ -1,0 +2,7 @@ +Thu Jul 14 13:09:51 UTC 2016 - [email protected] + +- Update to version 1.2.2 +- Added NovellBugzilla.patch to ensure it works with SUSE internal + bugzilla. + +------------------------------------------------------------------- Old: ---- python-bugzilla-0.9.0suse3.tar.bz2 New: ---- NovellBugzilla.patch python-bugzilla-1.2.2.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-bugzilla.spec ++++++ --- /var/tmp/diff_new_pack.85WxqC/_old 2016-07-20 09:20:41.000000000 +0200 +++ /var/tmp/diff_new_pack.85WxqC/_new 2016-07-20 09:20:41.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-bugzilla # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,22 +17,25 @@ Name: python-bugzilla -Version: 0.9.0suse3 +Version: 1.2.2 Release: 0 Summary: Python library for bugzilla License: GPL-2.0+ Group: Development/Libraries/Python Url: https://fedorahosted.org/python-bugzilla/ Source: %{name}-%{version}.tar.bz2 +Patch0: NovellBugzilla.patch # https://gitorious.org/opensuse/python-bugzilla BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-devel +BuildRequires: python-setuptools %if 0%{?suse_version} && 0%{?suse_version} <= 1110 %{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %else BuildArch: noarch %endif Requires: python-pycurl +Requires: python-requests Suggests: osc %description @@ -48,6 +51,7 @@ %prep %setup -q +%patch0 -p1 %build CFLAGS="%{optflags}" python setup.py build @@ -57,7 +61,6 @@ %files %defattr(-,root,root,-) -%doc README %{_bindir}/bugzilla %{python_sitelib}/bugzilla %{python_sitelib}/python_bugzilla-%{version}-py%{py_ver}.egg-info ++++++ NovellBugzilla.patch ++++++ Index: python-bugzilla-1.2.2/build/lib/bugzilla/base.py =================================================================== --- python-bugzilla-1.2.2.orig/build/lib/bugzilla/base.py 2016-07-12 10:17:49.836875522 +0200 +++ python-bugzilla-1.2.2/build/lib/bugzilla/base.py 2016-07-14 15:09:36.151992677 +0200 @@ -994,7 +994,7 @@ class BugzillaBase(object): log.debug("Calling Bug.get with: %s", getbugdata) r = self._proxy.Bug.get(getbugdata) - if self.bz_ver_major >= 4: + if self.bz_ver_major >= 4 or self.__class__.__name__=='NovellBugzilla': bugdict = dict([(b['id'], b) for b in r['bugs']]) else: bugdict = dict([(b['id'], b['internals']) for b in r['bugs']]) ++++++ python-bugzilla-0.9.0suse3.tar.bz2 -> python-bugzilla-1.2.2.tar.bz2 ++++++ ++++ 23264 lines of diff (skipped)
