apply patch conditionally

only where python-3.6 is used
This commit is contained in:
Rex Dieter 2017-04-10 10:13:11 -05:00
parent 5fda684ac1
commit c0407c34f9

View File

@ -103,7 +103,9 @@ at parse time or later once the document has been modified.
%patch0 -p1 %patch0 -p1
# workaround for #877567 - Very weird bug gzip decompression bug in "recent" libxml2 versions # workaround for #877567 - Very weird bug gzip decompression bug in "recent" libxml2 versions
%patch1 -p1 -b .do-not-check-crc %patch1 -p1 -b .do-not-check-crc
%if 0%{?fedora} > 25
%patch2 -p1 %patch2 -p1
%endif
mkdir py3doc mkdir py3doc
cp doc/*.py py3doc cp doc/*.py py3doc