summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Spura <thomas.spura@gmail.com>2013-11-05 09:45:20 +0100
committerThomas Spura <thomas.spura@gmail.com>2013-11-12 18:21:55 +0100
commit0e20a2f02aa2b7772b9857152c6c8bd517924ecf (patch)
tree9a055d9b2999d336b3a8cbbb41676fdb6224400a
parent7914823b9db1de351ae275fde447efa0671ef5c2 (diff)
downloadpython-pexpect-0e20a2f02aa2b7772b9857152c6c8bd517924ecf.tar.gz
python-pexpect-0e20a2f02aa2b7772b9857152c6c8bd517924ecf.tar.xz
python-pexpect-0e20a2f02aa2b7772b9857152c6c8bd517924ecf.zip
consistently use %%{buildroot} everywhere
-rw-r--r--python-pexpect.spec7
1 files changed, 4 insertions, 3 deletions
diff --git a/python-pexpect.spec b/python-pexpect.spec
index 39c02af..0d57435 100644
--- a/python-pexpect.spec
+++ b/python-pexpect.spec
@@ -98,7 +98,7 @@ rm -rf %{buildroot}
%if 0%{?with_python3}
pushd %{py3dir}
%{__python3} setup.py install --skip-build \
- --root $RPM_BUILD_ROOT --install-lib %{python3_sitelib}
+ --root %{buildroot} --install-lib %{python3_sitelib}
# Correct some permissions
find examples -type f -exec chmod a-x \{\} \;
@@ -108,7 +108,7 @@ popd
%endif # with_python3
%{__python} setup.py install --skip-build \
- --root $RPM_BUILD_ROOT --install-lib %{python_sitelib}
+ --root %{buildroot} --install-lib %{python_sitelib}
rm -rf ${buildroot}%{python_sitelib}/setuptools/tests
@@ -116,7 +116,7 @@ rm -rf ${buildroot}%{python_sitelib}/setuptools/tests
find examples -type f -exec chmod a-x \{\} \;
%clean
-rm -rf $RPM_BUILD_ROOT
+rm -rf %{buildroot}
%files
%defattr(-,root,root)
@@ -136,6 +136,7 @@ rm -rf $RPM_BUILD_ROOT
- new upstream is github/pexpect/pexpect
- update to rc3
- build on noarch again
+- consistently use %%{buildroot} everywhere
* Thu Sep 05 2013 Andrew McNabb <amcnabb@mcnabbs.org> - 2.5.1-11
- Fix the name of the arm architecture in ExcludeArch