crobinso pushed to python-bugzilla (f22). "Rebased to version 1.2.0 (..more)"
notifications at fedoraproject.org
notifications at fedoraproject.org
Wed Apr 8 21:00:30 UTC 2015
>From 253b88a9a4ef5f294a99da8384bbfd9cbd8474d4 Mon Sep 17 00:00:00 2001
From: Cole Robinson <crobinso at redhat.com>
Date: Wed, 8 Apr 2015 16:44:12 -0400
Subject: Rebased to version 1.2.0 Add bugzilla new/query/modify --field flag
(Arun Babu Neelicattu) API support for ExternalBugs (Arun Babu Neelicattu,
Brian Bouterse) Add new/modify --alias support (Adam Williamson)
Bugzilla.logged_in now returns live state (Arun Babu Neelicattu) Fix getbugs
API with latest Bugzilla releases
diff --git a/.gitignore b/.gitignore
index 02aca61..f0ffc44 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,3 +5,4 @@ python-bugzilla-0.6.1.tar.bz2
/python-bugzilla-0.9.0.tar.gz
/python-bugzilla-1.0.0.tar.gz
/python-bugzilla-1.1.0.tar.gz
+/python-bugzilla-1.2.0.tar.gz
diff --git a/0001-tests-Fix-cookie-comparison-on-rawhide.patch b/0001-tests-Fix-cookie-comparison-on-rawhide.patch
deleted file mode 100644
index ed693ef..0000000
--- a/0001-tests-Fix-cookie-comparison-on-rawhide.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-From e7ed770363e8769727a915b2390c0ce1ab2ce964 Mon Sep 17 00:00:00 2001
-Message-Id: <e7ed770363e8769727a915b2390c0ce1ab2ce964.1403136949.git.crobinso at redhat.com>
-From: Michal Hlavinka <mhlavink at redhat.com>
-Date: Wed, 18 Jun 2014 20:07:24 -0400
-Subject: [PATCH] tests: Fix cookie comparison on rawhide
-
-Cookie comments changed, so just strip them out
-
-(crobinso: Add commit message, make change more readable)
----
- tests/misc.py | 7 ++++++-
- 1 file changed, 6 insertions(+), 1 deletion(-)
-
-diff --git a/tests/misc.py b/tests/misc.py
-index 4b4f99d..12da806 100644
---- a/tests/misc.py
-+++ b/tests/misc.py
-@@ -83,7 +83,12 @@ class MiscAPI(unittest.TestCase):
-
- # Mozilla should be converted inplace to LWP
- bugzilla.Bugzilla3(url=None, cookiefile=cookiesnew)
-- self.assertEquals(open(cookiesmoz).read(), open(cookiesnew).read())
-+
-+ def strip_comments(content):
-+ return [l for l in content.split("\n") if not l.startswith("#")]
-+ self.assertEquals(
-+ strip_comments(open(cookiesmoz).read()),
-+ strip_comments(open(cookiesnew).read()))
-
- # Make sure bad cookies raise an error
- try:
---
-1.9.3
-
diff --git a/python-bugzilla.spec b/python-bugzilla.spec
index 300bcb4..b502cdd 100644
--- a/python-bugzilla.spec
+++ b/python-bugzilla.spec
@@ -1,4 +1,4 @@
-%if 0%{?fedora} ||0%{?rhel} >= 7
+%if 0%{?fedora} || 0%{?rhel} >= 7
%global with_python3 1
%else
%{!?__python2: %global __python2 /usr/bin/python2}
@@ -6,25 +6,23 @@
%endif
Name: python-bugzilla
-Version: 1.1.0
-Release: 2%{?dist}
+Version: 1.2.0
+Release: 1%{?dist}
Summary: A python library and tool for interacting with Bugzilla
License: GPLv2+
URL: https://fedorahosted.org/python-bugzilla
Source0: https://fedorahosted.org/releases/p/y/%{name}/%{name}-%{version}.tar.gz
-
-# Fix tests on rawhide (bz #1106734)
-Patch0001: 0001-tests-Fix-cookie-comparison-on-rawhide.patch
BuildArch: noarch
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: python2-devel
BuildRequires: python-requests
+BuildRequires: python-setuptools
%if 0%{?with_python3}
BuildRequires: python3-devel
BuildRequires: python3-requests
+BuildRequires: python3-setuptools
%endif # if with_python3
Requires: python-requests
@@ -52,9 +50,6 @@ over XML-RPC.
%prep
%setup -q
-# Fix tests on rawhide (bz #1106734)
-%patch0001 -p1
-
%if 0%{?with_python3}
rm -rf %{py3dir}
cp -a . %{py3dir}
@@ -98,7 +93,16 @@ popd
%doc COPYING README PKG-INFO
%{python3_sitelib}/*
%endif # with_python3
+
%changelog
+* Wed Apr 08 2015 Cole Robinson <crobinso at redhat.com> - 1.2.0-1
+- Rebased to version 1.2.0
+- Add bugzilla new/query/modify --field flag (Arun Babu Neelicattu)
+- API support for ExternalBugs (Arun Babu Neelicattu, Brian Bouterse)
+- Add new/modify --alias support (Adam Williamson)
+- Bugzilla.logged_in now returns live state (Arun Babu Neelicattu)
+- Fix getbugs API with latest Bugzilla releases
+
* Wed Jun 18 2014 Cole Robinson <crobinso at redhat.com> - 1.1.0-2
- Fix tests on rawhide (bz #1106734)
diff --git a/sources b/sources
index 67a5f3f..185556b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-6c20659442d75ac3e1f0cdac80ee3b6d python-bugzilla-1.1.0.tar.gz
+628f6d803054608a5b6187ae8239f7ed python-bugzilla-1.2.0.tar.gz
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/python-bugzilla.git/commit/?h=f22&id=253b88a9a4ef5f294a99da8384bbfd9cbd8474d4
More information about the scm-commits
mailing list