14
0

Accepting request 631173 from devel:languages:python

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/631173
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-bugzilla?expand=0&rev=26
This commit is contained in:
2018-08-24 15:11:59 +00:00
committed by Git OBS Bridge
5 changed files with 26 additions and 5 deletions

3
_service Normal file
View File

@@ -0,0 +1,3 @@
<services>
<service name="download_files" mode="localonly"/>
</services>

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f3145ab86c299389f3686fc44bb7c8b70eb1a9ccd4a7bafe578b5c4d450c8250
size 78791

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:acbfd2ba1bb44d2fdce6d925e27414bd5808d063550227816cf2adf2c2927274
size 79818

View File

@@ -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

View File

@@ -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