diff --git a/libxml2.spec b/libxml2.spec index c0ebfbd..7b9ee4a 100644 --- a/libxml2.spec +++ b/libxml2.spec @@ -91,10 +91,7 @@ at parse time or later once the document has been modified. %prep %autosetup -p1 - -mkdir py3doc -cp doc/*.py py3doc -sed -i 's|#!/usr/bin/python |#!%{__python3} |' py3doc/*.py +find doc -type f -executable -print -exec chmod 0644 {} ';' %build mkdir py2 py3 @@ -104,8 +101,6 @@ mkdir py2 py3 %make_build -C py2 %make_build -C py3 -find doc -type f -exec chmod 0644 \{\} \; - %install rm -fr %{buildroot}