From 8174bcd4d69cdd83f7a863b26da9a0959d39104b Mon Sep 17 00:00:00 2001 From: yatin Date: Wed, 27 Feb 2019 11:28:48 +0530 Subject: [PATCH] Disable python2 build in Fedora --- python-jsonpatch.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/python-jsonpatch.spec b/python-jsonpatch.spec index 00d96eb..0b6f1f6 100644 --- a/python-jsonpatch.spec +++ b/python-jsonpatch.spec @@ -7,7 +7,7 @@ %bcond_with python3 %endif -%if 0%{?rhel} > 7 +%if 0%{?fedora} || 0%{?rhel} > 7 # Disable python2 build by default %bcond_with python2 %else @@ -16,7 +16,7 @@ Name: python-%{pypi_name} Version: 1.21 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Applying JSON Patches in Python License: BSD @@ -133,6 +133,9 @@ done; %endif # with python3 %changelog +* Wed Feb 27 2019 Yatin Karel - 1.21-7 +- Disable python2 build in Fedora + * Sat Feb 02 2019 Fedora Release Engineering - 1.21-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild