From 091680b8211015d1e8fb81cd4c8713539e7aceec Mon Sep 17 00:00:00 2001 From: Miro Hrončok Date: Jan 09 2019 20:15:05 +0000 Subject: Drop Python 2 package from Fedora 30+ https://bugzilla.redhat.com/show_bug.cgi?id=1659741 --- diff --git a/custodia.spec b/custodia.spec index 17e593b..7fe91b3 100644 --- a/custodia.spec +++ b/custodia.spec @@ -5,7 +5,7 @@ %bcond_with python3 %endif -%if 0%{?rhel} > 7 +%if 0%{?fedora} > 29 || 0%{?rhel} > 7 # Disable python2 build by default %bcond_with python2 %else @@ -16,7 +16,7 @@ Name: custodia Version: 0.6.0 -Release: 4%{?dist} +Release: 5%{?dist} Summary: A service to manage, retrieve and store secrets for other processes License: GPLv3+ @@ -33,7 +33,7 @@ BuildArch: noarch BuildRequires: systemd -%if %{?with_python2} +%if 0%{?with_python2} BuildRequires: python2-devel BuildRequires: python2-jwcrypto >= 0.4.2 BuildRequires: python2-requests @@ -253,6 +253,9 @@ exit 0 %changelog +* Wed Jan 09 2019 Miro Hrončok - 0.6.0-5 +- Drop Python 2 package from Fedora 30+ + * Thu Jul 12 2018 Fedora Release Engineering - 0.6.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild