consistently use %%{buildroot} everywhere
This commit is contained in:
parent
7914823b9d
commit
0e20a2f02a
@ -98,7 +98,7 @@ rm -rf %{buildroot}
|
|||||||
%if 0%{?with_python3}
|
%if 0%{?with_python3}
|
||||||
pushd %{py3dir}
|
pushd %{py3dir}
|
||||||
%{__python3} setup.py install --skip-build \
|
%{__python3} setup.py install --skip-build \
|
||||||
--root $RPM_BUILD_ROOT --install-lib %{python3_sitelib}
|
--root %{buildroot} --install-lib %{python3_sitelib}
|
||||||
|
|
||||||
# Correct some permissions
|
# Correct some permissions
|
||||||
find examples -type f -exec chmod a-x \{\} \;
|
find examples -type f -exec chmod a-x \{\} \;
|
||||||
@ -108,7 +108,7 @@ popd
|
|||||||
%endif # with_python3
|
%endif # with_python3
|
||||||
|
|
||||||
%{__python} setup.py install --skip-build \
|
%{__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
|
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 \{\} \;
|
find examples -type f -exec chmod a-x \{\} \;
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -136,6 +136,7 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
- new upstream is github/pexpect/pexpect
|
- new upstream is github/pexpect/pexpect
|
||||||
- update to rc3
|
- update to rc3
|
||||||
- build on noarch again
|
- build on noarch again
|
||||||
|
- consistently use %%{buildroot} everywhere
|
||||||
|
|
||||||
* Thu Sep 05 2013 Andrew McNabb <amcnabb@mcnabbs.org> - 2.5.1-11
|
* Thu Sep 05 2013 Andrew McNabb <amcnabb@mcnabbs.org> - 2.5.1-11
|
||||||
- Fix the name of the arm architecture in ExcludeArch
|
- Fix the name of the arm architecture in ExcludeArch
|
||||||
|
Loading…
Reference in New Issue
Block a user