From 7a33470462c827ab86bec5666610269d1c33329d63e0fc5c7d4a24d61327b224 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 16 Aug 2018 10:01:21 +0000 Subject: [PATCH] Update to 2.2.0: - Port tests to pytest - cli: --cert Client side certificate support (Tobias Wolter) - cli: add ability to post comment while sending attachment (Jeff Mahoney) - cli: Add --comment-tag option - cli: Add info --active-components - Add a raw Product.get wrapper API OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bugzilla?expand=0&rev=44 --- _service | 3 +++ python-bugzilla-2.1.0.tar.gz | 3 --- python-bugzilla-2.2.0.tar.gz | 3 +++ python-bugzilla.changes | 11 +++++++++++ python-bugzilla.spec | 11 +++++++++-- 5 files changed, 26 insertions(+), 5 deletions(-) create mode 100644 _service delete mode 100644 python-bugzilla-2.1.0.tar.gz create mode 100644 python-bugzilla-2.2.0.tar.gz diff --git a/_service b/_service new file mode 100644 index 0000000..ea3c172 --- /dev/null +++ b/_service @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/python-bugzilla-2.1.0.tar.gz b/python-bugzilla-2.1.0.tar.gz deleted file mode 100644 index aa931c5..0000000 --- a/python-bugzilla-2.1.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f3145ab86c299389f3686fc44bb7c8b70eb1a9ccd4a7bafe578b5c4d450c8250 -size 78791 diff --git a/python-bugzilla-2.2.0.tar.gz b/python-bugzilla-2.2.0.tar.gz new file mode 100644 index 0000000..0875da3 --- /dev/null +++ b/python-bugzilla-2.2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:acbfd2ba1bb44d2fdce6d925e27414bd5808d063550227816cf2adf2c2927274 +size 79818 diff --git a/python-bugzilla.changes b/python-bugzilla.changes index 32bc442..6a558d9 100644 --- a/python-bugzilla.changes +++ b/python-bugzilla.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Thu Aug 16 09:32:14 UTC 2018 - mcepl@suse.com + +- Update to 2.2.0: + - Port tests to pytest + - cli: --cert Client side certificate support (Tobias Wolter) + - cli: add ability to post comment while sending attachment (Jeff Mahoney) + - cli: Add --comment-tag option + - cli: Add info --active-components + - Add a raw Product.get wrapper API + ------------------------------------------------------------------- Mon May 7 15:13:13 UTC 2018 - dimstar@opensuse.org diff --git a/python-bugzilla.spec b/python-bugzilla.spec index b5eec36..32a6dbd 100644 --- a/python-bugzilla.spec +++ b/python-bugzilla.spec @@ -19,15 +19,17 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define oldpython python Name: python-bugzilla -Version: 2.1.0 +Version: 2.2.0 Release: 0 Summary: Python library for Bugzilla License: GPL-2.0-or-later Group: Development/Libraries/Python URL: https://github.com/python-bugzilla/python-bugzilla Source: https://files.pythonhosted.org/packages/source/p/python-bugzilla/python-bugzilla-%{version}.tar.gz -BuildRequires: %{python_module devel} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module requests} BuildRequires: %{python_module setuptools} +BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-requests Requires(post): update-alternatives @@ -47,6 +49,7 @@ ad-hoc bugzilla jiggery-pokery. %prep %setup -q +sed -i -e '1{/^#!\/usr\/bin\/env python/d}' bugzilla/_cli.py %build export CFLAGS="%{optflags}" @@ -56,6 +59,7 @@ export CFLAGS="%{optflags}" %python_install %python_clone -a %{buildroot}%{_bindir}/bugzilla %python_clone -a %{buildroot}%{_mandir}/man1/bugzilla.1 +%python_expand %fdupes %{buildroot}%{$python_sitelib} %post %{python_install_alternative bugzilla bugzilla.1} @@ -63,6 +67,9 @@ export CFLAGS="%{optflags}" %postun %python_uninstall_alternative bugzilla +%check +%python_expand py.test-%{$python_version} + %files %{python_files} %defattr(-,root,root,-) %python_alternative %{_bindir}/bugzilla