14
0

Accepting request 408509 from home:jsegitz:branches:devel:languages:python

- Update to version 1.2.2
- Added NovellBugzilla.patch to ensure it works with SUSE internal
  bugzilla.

OBS-URL: https://build.opensuse.org/request/show/408509
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bugzilla?expand=0&rev=36
This commit is contained in:
2016-07-18 05:54:23 +00:00
committed by Git OBS Bridge
parent 07b1d4e9e4
commit 1cdbff151b
5 changed files with 29 additions and 6 deletions

View File

@@ -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 @@ but gosh - why not just write something in Python instead?
%prep
%setup -q
%patch0 -p1
%build
CFLAGS="%{optflags}" python setup.py build
@@ -57,7 +61,6 @@ python setup.py install --root=%{buildroot} --prefix=%{_prefix}
%files
%defattr(-,root,root,-)
%doc README
%{_bindir}/bugzilla
%{python_sitelib}/bugzilla
%{python_sitelib}/python_bugzilla-%{version}-py%{py_ver}.egg-info