[python-bugzilla/f18] 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:49:40 UTC 2013


commit fae70639b211dd0bdda8db667b7994e100a3cd01
Author: Cole Robinson <crobinso at redhat.com>
Date:   Wed Jun 19 13:49:26 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 #975961, bz #951594)

 .gitignore                                         |    1 +
 ...loading-attachments-as-base64-and-test-it.patch |  205 --------------------
 python-bugzilla.spec                               |   53 ++++--
 sources                                            |    2 +-
 4 files changed, 37 insertions(+), 224 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 985be30..85f7dec 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@ python-bugzilla-0.6.1.tar.bz2
 /python-bugzilla-0.6.2.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 d1b1654..4cce20b 100644
--- a/python-bugzilla.spec
+++ b/python-bugzilla.spec
@@ -1,25 +1,26 @@
 %{!?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
-BuildRequires:  python-devel
-BuildRequires: python-setuptools-devel
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
-# Only needed by the CLI - if you wanted to avoid this dep you could
-# split the CLI into its own package..
+BuildRequires:  python-devel
+%if 0%{?rhel} == 5
+BuildRequires:  python-setuptools
+%else
+BuildRequires:  python-setuptools-devel
+%endif
+
+BuildRequires: python-pycurl
+Requires: python-pycurl
 Requires: python-magic
 
 %description
@@ -30,27 +31,43 @@ for interacting with bugzilla from shell scripts.
 %prep
 %setup -q
 
-# Don't upload scrambled attachments (bz #915318)
-%patch0001 -p1
-
 
 %build
 %{__python} setup.py build
 
 
 %install
-%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
- 
+rm -rf $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
+
 
 %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 #975961, bz #951594)
+
 * Mon Mar 04 2013 Cole Robinson <crobinso at redhat.com> - 0.8.0-2
 - Don't upload scrambled attachments (bz #915318)
 
@@ -169,7 +186,7 @@ for interacting with bugzilla from shell scripts.
 - 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