From c0407c34f907d84a536f66d17f6d1885fbab67c6 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Mon, 10 Apr 2017 10:13:11 -0500 Subject: [PATCH] apply patch conditionally only where python-3.6 is used --- libxml2.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libxml2.spec b/libxml2.spec index deb837a..0713ab9 100644 --- a/libxml2.spec +++ b/libxml2.spec @@ -103,7 +103,9 @@ at parse time or later once the document has been modified. %patch0 -p1 # workaround for #877567 - Very weird bug gzip decompression bug in "recent" libxml2 versions %patch1 -p1 -b .do-not-check-crc +%if 0%{?fedora} > 25 %patch2 -p1 +%endif mkdir py3doc cp doc/*.py py3doc