From 43596e57313d7162da6ad63f3ba9391130a377c0 Mon Sep 17 00:00:00 2001 From: Toshio Kuratomi Date: Sat, 18 Feb 2017 10:10:48 -0800 Subject: [PATCH] builddir => buildroot --- python-sphinx.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python-sphinx.spec b/python-sphinx.spec index 1857edb..c37da2b 100644 --- a/python-sphinx.spec +++ b/python-sphinx.spec @@ -400,7 +400,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 @@ -415,7 +415,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} pushd doc # Deliver man pages