From 73e2ced459698e626b6b393a3eef09f4aa7fb7d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Thu, 31 Oct 2019 17:10:50 +0100 Subject: [PATCH] Remove Python 2 package on Fedora 32+ Resolves https://bugzilla.redhat.com/show_bug.cgi?id=1764870 --- graphviz.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/graphviz.spec b/graphviz.spec index b07cfcf..5c7ba03 100644 --- a/graphviz.spec +++ b/graphviz.spec @@ -2,7 +2,11 @@ %bcond_with python2 %bcond_with php %else +%if 0%{?fedora} > 31 +%bcond_with python2 +%else %bcond_without python2 +%endif %bcond_without php %endif @@ -61,7 +65,7 @@ Name: graphviz Summary: Graph Visualization Tools Version: 2.42.2 -Release: 2%{?dist} +Release: 3%{?dist} License: EPL-1.0 URL: http://www.graphviz.org/ # A bit hacking needed due to: https://gitlab.com/graphviz/graphviz/issues/1371 @@ -579,6 +583,9 @@ php --no-php-ini \ %{_mandir}/man3/*.3tcl* %changelog +* Thu Oct 31 2019 Miro HronĨok - 2.42.2-3 +- Remove Python 2 package on Fedora 32+ + * Fri Oct 04 2019 Remi Collet - 2.42.2-2 - rebuild for https://fedoraproject.org/wiki/Changes/php74