Improve EL6 build

This commit is contained in:
Fabio Alessandro Locati 2016-01-06 12:10:39 +01:00
parent 891702118e
commit 7f11b83a65

View File

@ -13,7 +13,7 @@
Name: python-%{pypi_name}
Version: 0.9.0
Release: 1%{?dist}
Release: 2%{?dist}
Summary: JSON Matching Expressions
License: MIT
@ -34,6 +34,7 @@ a JSON document.
%package -n python2-%{pypi_name}
Summary: JSON Matching Expressions
%{?el6:Provides: python-jmespath}
%{?python_provide:%python_provide python2-%{pypi_name}}
%description -n python2-%{pypi_name}
@ -93,6 +94,9 @@ ln -sf %{_bindir}/jp.py-2 %{buildroot}/%{_bindir}/jp.py-%{python2_version}
%endif # with_python3
%changelog
* Wed Jan 06 2016 Fabio Alessandro Locati <fabio@locati.cc> - 0.9.0-2
- Improve to set the Provides tag for EL6 too
* Tue Dec 29 2015 Fabio Alessandro Locati <fabio@locati.cc> - 0.9.0-1
- Upgrade to upstream current version
- Improve the spec file