diff --git a/zanata-python-client.spec b/zanata-python-client.spec index ccc5fdc..2453f42 100644 --- a/zanata-python-client.spec +++ b/zanata-python-client.spec @@ -2,7 +2,7 @@ %{!?python2_sitelib: %define python2_sitelib %{python_sitelib}} Name: zanata-python-client Version: 1.4.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Python Client for Zanata Server License: LGPLv2+ URL: http://zanata.org @@ -12,9 +12,12 @@ BuildArch: noarch BuildRequires: python-setuptools Requires: python-polib >= 1.0.0-1 Requires: python-httplib2 >= 0.7.4-6 -%if 0%{?rhel} < 6 -Requires: python-hashlib -Requires: python-simplejson + +%if 0%{?rhel} + %if 0%{?rhel} < 6 + Requires: python-hashlib + Requires: python-simplejson + %endif %endif #Conflicts: python-json @@ -45,6 +48,9 @@ rm -rf $RPM_BUILD_ROOT/%{_docdir} %changelog +* Thu Jan 14 2016 Ding-Yi Chen - 1.4.1-2 +Fix the Fedora 22 rpmlint error. + * Wed Jan 13 2016 Ding-Yi Chen - 1.4.1-1 - Upsteam update to 1.4.1 which fixed: * Improvements