From 813be92d0b847f8ab047df55bd05a291be23cde8 Mon Sep 17 00:00:00 2001 From: Kamil Dudka Date: Mon, 14 Oct 2019 10:14:53 +0200 Subject: [PATCH] Resolves: #1761223 - remove the python2-magic subpackage on f32+ --- file.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/file.spec b/file.spec index dea1d10..3927af5 100644 --- a/file.spec +++ b/file.spec @@ -6,7 +6,7 @@ %endif # python2 is not available on RHEL > 7 -%if 0%{?rhel} > 7 +%if 0%{?fedora} > 31 || 0%{?rhel} > 7 %bcond_with python2 %else %bcond_without python2 @@ -15,7 +15,7 @@ Summary: A utility for determining file types Name: file Version: 5.37 -Release: 6%{?dist} +Release: 7%{?dist} License: BSD Source0: ftp://ftp.astron.com/pub/file/file-%{version}.tar.gz @@ -203,6 +203,9 @@ cd %{py3dir} %endif %changelog +* Mon Oct 14 2019 Kamil Dudka - 5.37-7 +- remove the python2-magic subpackage on f32+ (#1761223) + * Fri Oct 04 2019 Kamil Dudka - 5.37-6 - always install python2-setuptools if python2 is enabled