use %autosetup

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-01-24 06:52:18 +01:00
parent 4a557f56eb
commit 09ddbc50ac
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

View File

@ -7,6 +7,7 @@ License: MIT
URL: http://xmlsoft.org/ URL: http://xmlsoft.org/
Source: ftp://xmlsoft.org/libxml2/libxml2-%{version}.tar.gz Source: ftp://xmlsoft.org/libxml2/libxml2-%{version}.tar.gz
Patch0: libxml2-multilib.patch Patch0: libxml2-multilib.patch
# workaround for #877567 - Very weird bug gzip decompression bug in "recent" libxml2 versions
Patch1: libxml2-2.9.0-do-not-check-crc.patch Patch1: libxml2-2.9.0-do-not-check-crc.patch
# In python3.6 _PyVerify_fd is no more # In python3.6 _PyVerify_fd is no more
# http://bugs.python.org/issue23524 # http://bugs.python.org/issue23524
@ -90,11 +91,7 @@ this includes parsing and validation even with complex DTDs, either
at parse time or later once the document has been modified. at parse time or later once the document has been modified.
%prep %prep
%setup -q %autosetup -p1
%patch0 -p1
# workaround for #877567 - Very weird bug gzip decompression bug in "recent" libxml2 versions
%patch1 -p1 -b .do-not-check-crc
%patch2 -p1
mkdir py3doc mkdir py3doc
cp doc/*.py py3doc cp doc/*.py py3doc