[python-bugzilla/el5] Don't depend on python-magic on el5
Cole Robinson
crobinso at fedoraproject.org
Mon Jun 24 15:43:45 UTC 2013
commit 17813101f105281eb0f71e23327177e5be9b4ac0
Author: Cole Robinson <crobinso at redhat.com>
Date: Mon Jun 24 11:43:09 2013 -0400
Don't depend on python-magic on el5
python-bugzilla.spec | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/python-bugzilla.spec b/python-bugzilla.spec
index 82eeed7..feafa06 100644
--- a/python-bugzilla.spec
+++ b/python-bugzilla.spec
@@ -2,7 +2,7 @@
Name: python-bugzilla
Version: 0.9.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: A python library for interacting with Bugzilla
Group: Development/Languages
@@ -21,13 +21,18 @@ BuildRequires: python-setuptools-devel
BuildRequires: python-pycurl
Requires: python-pycurl
+
+%if ! 0%{?rhel} || 0%{?rhel} >= 6
Requires: python-magic
+%endif
+
%description
python-bugzilla is a python library for interacting with bugzilla instances
over XML-RPC. This package also includes the 'bugzilla' command-line tool
for interacting with bugzilla from shell scripts.
+
%prep
%setup -q
@@ -58,6 +63,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Mon Jun 24 2013 Cole Robinson <crobinso at redhat.com> - 0.9.0-2
+- Don't depend on python-magic on el5
+
* 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)
More information about the scm-commits
mailing list