diff --git a/NovellBugzilla.patch b/NovellBugzilla.patch deleted file mode 100644 index 930f3f9..0000000 --- a/NovellBugzilla.patch +++ /dev/null @@ -1,13 +0,0 @@ -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']]) diff --git a/python-bugzilla-1.2.2.tar.bz2 b/python-bugzilla-1.2.2.tar.bz2 deleted file mode 100644 index 89fd55f..0000000 --- a/python-bugzilla-1.2.2.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:78fc57bd8ca78511c7221656690c6479ce81500ff5e812fdc631d46018580608 -size 1200113 diff --git a/python-bugzilla-2.1.0.tar.gz b/python-bugzilla-2.1.0.tar.gz new file mode 100644 index 0000000..aa931c5 --- /dev/null +++ b/python-bugzilla-2.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f3145ab86c299389f3686fc44bb7c8b70eb1a9ccd4a7bafe578b5c4d450c8250 +size 78791 diff --git a/python-bugzilla.changes b/python-bugzilla.changes index 6ee68c9..479a501 100644 --- a/python-bugzilla.changes +++ b/python-bugzilla.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Wed Apr 25 10:21:27 UTC 2018 - tbechtold@suse.com + +- update to 2.1.0: + - Support for bugzilla 5 API Keys (Dustin J. Mitchell) + - bugzillarc can be used to set default URL for the cli tool + - Revive update_flags wrapper + - Bug fixes and minor improvements + - Several fixes for use with bugzilla 5 + - Bugzilla.bug_autorefresh now defaults to False + - Credentials are now cached in ~/.cache/python-bugzilla/ + - bin/bugzilla was converted to argparse + - bugzilla query --boolean_chart option is removed + - Unify command line flags across sub commands +- drop NovellBugzilla.patch (no longer needed) + ------------------------------------------------------------------- Thu Jul 14 13:09:51 UTC 2016 - jsegitz@novell.com diff --git a/python-bugzilla.spec b/python-bugzilla.spec index 11e6d9d..dfdcdef 100644 --- a/python-bugzilla.spec +++ b/python-bugzilla.spec @@ -1,7 +1,7 @@ # # spec file for package python-bugzilla # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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,14 +17,13 @@ Name: python-bugzilla -Version: 1.2.2 +Version: 2.1.0 Release: 0 Summary: Python library for bugzilla -License: GPL-2.0+ +License: GPL-2.0-or-later Group: Development/Libraries/Python Url: https://fedorahosted.org/python-bugzilla/ -Source: %{name}-%{version}.tar.bz2 -Patch0: NovellBugzilla.patch +Source: %{name}-%{version}.tar.gz # https://gitorious.org/opensuse/python-bugzilla BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-devel @@ -34,7 +33,6 @@ BuildRequires: python-setuptools %else BuildArch: noarch %endif -Requires: python-pycurl Requires: python-requests Suggests: osc @@ -51,7 +49,6 @@ but gosh - why not just write something in Python instead? %prep %setup -q -%patch0 -p1 %build CFLAGS="%{optflags}" python setup.py build