[python-bugzilla/el5] Rebased to version 0.9.0 bugzilla: modify: add --dependson (Don Zickus) bugzilla: new: add --groups
Cole Robinson
crobinso at fedoraproject.org
Wed Jun 19 17:55:29 UTC 2013
commit 33e7d06cefef86f6a6cce74b97ad50d09c212550
Author: Cole Robinson <crobinso at redhat.com>
Date: Wed Jun 19 13:55:19 2013 -0400
Rebased to version 0.9.0
bugzilla: modify: add --dependson (Don Zickus)
bugzilla: new: add --groups option (Paul Frields)
bugzilla: modify: Allow setting nearly every bug parameter
NovellBugzilla implementation removed, can't get it to work
Gracefully handle private bugs (bz #963979)
Raise error if python-magic is needed (bz #951572)
CVE-2013-2191: Add SSL host and cert validation (bz #975962, bz #951594)
.gitignore | 1 +
...loading-attachments-as-base64-and-test-it.patch | 205 --------------------
python-bugzilla.spec | 43 +++--
sources | 2 +-
4 files changed, 30 insertions(+), 221 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 525873c..a885521 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
python-bugzilla-0.6.1.tar.bz2
/python-bugzilla-0.7.0.tar.gz
/python-bugzilla-0.8.0.tar.gz
+/python-bugzilla-0.9.0.tar.gz
diff --git a/python-bugzilla.spec b/python-bugzilla.spec
index abfb800..82eeed7 100644
--- a/python-bugzilla.spec
+++ b/python-bugzilla.spec
@@ -1,28 +1,28 @@
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
Name: python-bugzilla
-Version: 0.8.0
-Release: 2%{?dist}
+Version: 0.9.0
+Release: 1%{?dist}
Summary: A python library for interacting with Bugzilla
Group: Development/Languages
License: GPLv2+
URL: https://fedorahosted.org/python-bugzilla
Source0: https://fedorahosted.org/releases/p/y/%{name}/%{name}-%{version}.tar.gz
-
-# Don't upload scrambled attachments (bz #915318)
-Patch0001: 0001-Fix-uploading-attachments-as-base64-and-test-it.patch
-
+BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildArch: noarch
BuildRequires: python-devel
-%if 0%{?fedora} >= 8
-BuildRequires: python-setuptools-devel
+%if 0%{?rhel} == 5
+BuildRequires: python-setuptools
%else
-BuildRequires: python-setuptools
+BuildRequires: python-setuptools-devel
%endif
+BuildRequires: python-pycurl
+Requires: python-pycurl
+Requires: python-magic
+
%description
python-bugzilla is a python library for interacting with bugzilla instances
over XML-RPC. This package also includes the 'bugzilla' command-line tool
@@ -31,8 +31,6 @@ for interacting with bugzilla from shell scripts.
%prep
%setup -q
-# Don't upload scrambled attachments (bz #915318)
-%patch0001 -p1
%build
%{__python} setup.py build
@@ -40,7 +38,12 @@ for interacting with bugzilla from shell scripts.
%install
rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
+%{__python} setup.py install -O1 --skip-build --root=$RPM_BUILD_ROOT
+
+
+%check
+python setup.py test
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -48,13 +51,23 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
-%doc COPYING README THANKS PKG-INFO
+%doc COPYING README PKG-INFO
%{python_sitelib}/*
%{_bindir}/bugzilla
%{_mandir}/man1/bugzilla.1.gz
%changelog
+* Wed Jun 19 2013 Cole Robinson <crobinso at redhat.com> - 0.9.0-1
+- Rebased to version 0.9.0
+- bugzilla: modify: add --dependson (Don Zickus)
+- bugzilla: new: add --groups option (Paul Frields)
+- bugzilla: modify: Allow setting nearly every bug parameter
+- NovellBugzilla implementation removed, can't get it to work
+- Gracefully handle private bugs (bz #963979)
+- Raise error if python-magic is needed (bz #951572)
+- CVE-2013-2191: Add SSL host and cert validation (bz #975962, bz #951594)
+
* Mon Mar 04 2013 Cole Robinson <crobinso at redhat.com> - 0.8.0-2
- Don't upload scrambled attachments (bz #915318)
@@ -149,7 +162,7 @@ rm -rf $RPM_BUILD_ROOT
- RHBugzilla3: raise useful error on getbug(unreadable_bug_id)
- Add adduser() (Jon Stanley)
-* Fri Oct 8 2008 Will Woods <wwoods at redhat.com> 0.4-0.rc3
+* Wed Oct 8 2008 Will Woods <wwoods at redhat.com> 0.4-0.rc3
- Add updateperms() - patch courtesy of Jon Stanley
- Fix attachfile() for RHBugzilla3
- Actually install man page. Whoops.
diff --git a/sources b/sources
index 47dfd16..baabf30 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-7bf55df9e9d1e7234225998ce69e37d2 python-bugzilla-0.8.0.tar.gz
+40365dd71823d7b14d695054a61ef264 python-bugzilla-0.9.0.tar.gz
More information about the scm-commits
mailing list