crobinso pushed to python-bugzilla (el6). "Rebased to version 1.2.0 (..more)"

notifications at fedoraproject.org notifications at fedoraproject.org
Wed Apr 8 21:10:39 UTC 2015


>From ddbe1a88e8fa0b0a4219b46920057cb0993e0d4a Mon Sep 17 00:00:00 2001
From: Cole Robinson <crobinso at redhat.com>
Date: Wed, 8 Apr 2015 17:10:31 -0400
Subject: Rebased to version 1.2.0 Add bugzilla new/query/modify --field flag
 (Arun Babu Neelicattu) API support for ExternalBugs (Arun Babu Neelicattu,
 Brian Bouterse) Add new/modify --alias support (Adam Williamson)
 Bugzilla.logged_in now returns live state (Arun Babu Neelicattu) Fix getbugs
 API with latest Bugzilla releases


diff --git a/.gitignore b/.gitignore
index 6180ccf..118994f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,4 @@ python-bugzilla-0.6.0.tar.bz2
 /python-bugzilla-0.9.0.tar.gz
 /python-bugzilla-1.0.0.tar.gz
 /python-bugzilla-1.1.0.tar.gz
+/python-bugzilla-1.2.0.tar.gz
diff --git a/python-bugzilla.spec b/python-bugzilla.spec
index 61416a9..4e2c3e7 100644
--- a/python-bugzilla.spec
+++ b/python-bugzilla.spec
@@ -1,4 +1,4 @@
-%if 0%{?fedora} ||0%{?rhel} >= 7
+%if 0%{?fedora} || 0%{?rhel} >= 8
 %global with_python3 1
 %else
 %{!?__python2: %global __python2 /usr/bin/python2}
@@ -6,7 +6,7 @@
 %endif
 
 Name:           python-bugzilla
-Version:        1.1.0
+Version:        1.2.0
 Release:        1%{?dist}
 Summary:        A python library and tool for interacting with Bugzilla
 
@@ -14,24 +14,20 @@ License:        GPLv2+
 URL:            https://fedorahosted.org/python-bugzilla
 Source0:        https://fedorahosted.org/releases/p/y/%{name}/%{name}-%{version}.tar.gz
 BuildArch:      noarch
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires: python2-devel
 BuildRequires: python-requests
+BuildRequires: python-setuptools
 
 %if 0%{?with_python3}
 BuildRequires: python3-devel
 BuildRequires: python3-requests
+BuildRequires: python3-setuptools
 %endif # if with_python3
 
 Requires: python-requests
 Requires: python-magic
 
-%if 0%{?with_python3}
-Requires: python3-requests
-Requires: python3-magic
-%endif # if with_python3
-
 
 %description
 python-bugzilla is a python 2 library for interacting with bugzilla instances
@@ -42,6 +38,8 @@ for interacting with bugzilla from shell scripts.
 %if 0%{?with_python3}
 %package -n python3-bugzilla
 Summary: A python 3 library for interacting with Bugzilla
+Requires: python3-requests
+Requires: python3-magic
 
 %description -n python3-bugzilla
 python3-bugzilla is a python 3 library for interacting with bugzilla instances
@@ -69,12 +67,10 @@ popd
 
 
 %install
-# Must do the python3 install first because the scripts in /usr/bin are
-# overwritten with every setup.py install (and we want the python2 version
-# to be the default for now).
 %if 0%{?with_python3}
 pushd %{py3dir}
 %{__python3} setup.py install -O1 --skip-build --root %{buildroot}
+rm %{buildroot}/usr/bin/bugzilla
 popd
 %endif # with_python3
 
@@ -97,7 +93,16 @@ popd
 %doc COPYING README PKG-INFO
 %{python3_sitelib}/*
 %endif # with_python3
+
 %changelog
+* Wed Apr 08 2015 Cole Robinson <crobinso at redhat.com> - 1.2.0-1
+- Rebased to version 1.2.0
+- Add bugzilla new/query/modify --field flag (Arun Babu Neelicattu)
+- API support for ExternalBugs (Arun Babu Neelicattu, Brian Bouterse)
+- Add new/modify --alias support (Adam Williamson)
+- Bugzilla.logged_in now returns live state (Arun Babu Neelicattu)
+- Fix getbugs API with latest Bugzilla releases
+
 * Sun Jun 01 2014 Cole Robinson <crobinso at redhat.com> - 1.1.0-1
 - Rebased to version 1.1.0
 - Support for bugzilla tokens (Arun Babu Nelicattu)
diff --git a/sources b/sources
index 67a5f3f..185556b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-6c20659442d75ac3e1f0cdac80ee3b6d  python-bugzilla-1.1.0.tar.gz
+628f6d803054608a5b6187ae8239f7ed  python-bugzilla-1.2.0.tar.gz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/python-bugzilla.git/commit/?h=el6&id=ddbe1a88e8fa0b0a4219b46920057cb0993e0d4a


More information about the scm-commits mailing list