diff --git a/python-bugzilla.changes b/python-bugzilla.changes index 3236a51..e3da800 100644 --- a/python-bugzilla.changes +++ b/python-bugzilla.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jan 3 17:33:50 UTC 2013 - toddrme2178@gmail.com + +- Fix building on SLES 11 + ------------------------------------------------------------------- Tue Jan 31 17:07:33 UTC 2012 - jmatejek@suse.com diff --git a/python-bugzilla.spec b/python-bugzilla.spec index db0c060..b83a2bf 100644 --- a/python-bugzilla.spec +++ b/python-bugzilla.spec @@ -33,8 +33,11 @@ Patch1: %{name}-0.6.2-backtraces.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-devel +%if 0%{?suse_version} && 0%{?suse_version} > 1110 BuildArch: noarch +%else %{py_requires} +%endif %description This is a python module that provides a nice, python-ish interface to Bugzilla