builddir => buildroot
This commit is contained in:
parent
19b3b5089d
commit
d868b07963
1 changed files with 2 additions and 2 deletions
|
|
@ -385,7 +385,7 @@ done
|
|||
# built by setup.py yet. Removing them in %%install so that if sphinx does
|
||||
# make use of them, and we don't notice, we only remove these source files
|
||||
# after the build has created the .so's
|
||||
rm %{builddir}%{python3_sitelib}/sphinx/pycode/pgen2/parse.{pyx,c}
|
||||
rm %{buildroot}%{python3_sitelib}/sphinx/pycode/pgen2/parse.{pyx,c}
|
||||
%endif # with_python3
|
||||
|
||||
%py2_install
|
||||
|
|
@ -398,7 +398,7 @@ done
|
|||
# built by setup.py yet. Removing them in %%install so that if sphinx does
|
||||
# make use of them, and we don't notice, we only remove these source files
|
||||
# after the build has created the .so's
|
||||
rm %{builddir}%{python2_sitelib}/sphinx/pycode/pgen2/parse.{pyx,c}
|
||||
rm %{buildroot}%{python2_sitelib}/sphinx/pycode/pgen2/parse.{pyx,c}
|
||||
|
||||
for i in sphinx-{apidoc,autogen,build,quickstart}; do
|
||||
touch %{buildroot}%{_bindir}/$i
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue