Skip to content

Commit 64d37d2

Browse files
committed
spec: Don't depend on python-magic on RHEL5
1 parent e6a0fbd commit 64d37d2

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

python-bugzilla.spec

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,18 @@ BuildRequires: python-setuptools-devel
2121

2222
BuildRequires: python-pycurl
2323
Requires: python-pycurl
24+
25+
%if ! 0%{?rhel} || 0%{?rhel} >= 6
2426
Requires: python-magic
27+
%endif
28+
2529

2630
%description
2731
python-bugzilla is a python library for interacting with bugzilla instances
2832
over XML-RPC. This package also includes the 'bugzilla' command-line tool
2933
for interacting with bugzilla from shell scripts.
3034

35+
3136
%prep
3237
%setup -q
3338

0 commit comments

Comments
 (0)