move chmod to %prep
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
aa634eccad
commit
294ae933db
@ -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}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user