diff --git a/python-anyjson.spec b/python-anyjson.spec index 5afa041..26a324e 100644 --- a/python-anyjson.spec +++ b/python-anyjson.spec @@ -3,7 +3,7 @@ Name: python-%{srcname} Version: 0.3.3 -Release: 25%{?dist} +Release: 26%{?dist} Summary: %{sum} License: BSD @@ -15,7 +15,7 @@ Patch0: anyjson-python3.patch # warning (it's about as alive as half the others), drop jsonlib, # jsonlib2 and django.utils.simplejson (which all appear to be dead # as doornails) -%if 0%{fedora} > 25 +%if 0%{?fedora} > 25 || 0%{?rhel} > 7 Patch1: python-anyjson-update-order-ujson.patch %else # Just the same, but don't include ujson, as its behaviour pre-2.0 @@ -32,7 +32,7 @@ BuildRequires: python3-nose BuildRequires: python3-simplejson -%if 0%{fedora} > 25 +%if 0%{?fedora} > 25 || 0%{?rhel} > 7 BuildRequires: python3-ujson %endif @@ -68,6 +68,9 @@ provides a uniform API regardless of which JSON implementation is used. %{python3_sitelib}/%{srcname}*.egg-info %changelog +* Thu May 21 2020 Yatin Karel - 0.3.3-26 +- Make anyjson buildable in El8 (#1787123) + * Thu Jan 30 2020 Fedora Release Engineering - 0.3.3-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild