forked from pool/python-bugzilla
Accepting request 177008 from home:matejcik:branches:devel:languages:python
- update to 0.8.0 * support for Bugzilla 4 and above * streamlined internals - update to suse2 from gitorious * include all suse patches * use osc's methods to parse .oscrc OBS-URL: https://build.opensuse.org/request/show/177008 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bugzilla?expand=0&rev=29
This commit is contained in:
committed by
Git OBS Bridge
parent
916fcc938d
commit
6911ff1aa1
@@ -17,18 +17,14 @@
|
||||
|
||||
|
||||
Name: python-bugzilla
|
||||
Version: 0.6.2
|
||||
Version: 0.8.0suse2
|
||||
Release: 0
|
||||
Summary: Python library for bugzilla
|
||||
License: GPL-2.0+
|
||||
Group: Development/Libraries/Python
|
||||
Url: https://fedorahosted.org/python-bugzilla/
|
||||
#Source: https://fedorahosted.org/releases/p/y/python-bugzilla/%{name}-%{version}.tar.bz2
|
||||
Source: %{name}-%{version}-openSUSE-1.tar.bz2
|
||||
Source: %{name}-%{version}.tar.bz2
|
||||
# https://gitorious.org/opensuse/python-bugzilla
|
||||
Patch0: %{name}-0.6.2-novell-default.patch
|
||||
Patch1: %{name}-0.6.2-backtraces.patch
|
||||
Patch2: %{name}-0.6.2-section.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: python-devel
|
||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
||||
@@ -36,6 +32,7 @@ BuildRequires: python-devel
|
||||
%else
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
Suggests: osc
|
||||
|
||||
%description
|
||||
This is a python module that provides a nice, python-ish interface to Bugzilla
|
||||
@@ -50,17 +47,12 @@ but gosh - why not just write something in Python instead?
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
|
||||
%build
|
||||
CFLAGS="%{optflags}" python setup.py build
|
||||
|
||||
%install
|
||||
python setup.py install --root=%{buildroot} --prefix=%{_prefix}
|
||||
#\ --record-rpm=INSTALLED_FILES
|
||||
#sed -i 's#%{_mandir}/man1/bugzilla.1#%{_mandir}/man1/bugzilla.1.gz#' INSTALLED_FILES
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
|
||||
Reference in New Issue
Block a user