[python-itsdangerous: 3/4] $RPM_BUILD_ROOT -> %{buildroot}
Dan Callaghan
dcallagh at fedoraproject.org
Tue Jun 18 11:09:52 UTC 2013
commit 19b694510bb54429d67d18ca31b65efd5e0adb5a
Author: Dan Callaghan <dcallagh at redhat.com>
Date: Mon Jun 17 09:13:56 2013 +1000
$RPM_BUILD_ROOT -> %{buildroot}
python-itsdangerous.spec | 13 ++++++++-----
1 files changed, 8 insertions(+), 5 deletions(-)
---
diff --git a/python-itsdangerous.spec b/python-itsdangerous.spec
index 04c8359..4125907 100644
--- a/python-itsdangerous.spec
+++ b/python-itsdangerous.spec
@@ -8,7 +8,7 @@
Name: python-%{upstream_name}
Version: 0.21
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Python library for passing trusted data to untrusted environments
License: BSD
URL: http://pythonhosted.org/itsdangerous/
@@ -75,14 +75,14 @@ pushd %{py3dir}
popd
%endif
-%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
+%{__python} setup.py install -O1 --skip-build --root %{buildroot}
%check
-PYTHONPATH=$RPM_BUILD_ROOT%{python_sitelib} %{__python} tests.py
+PYTHONPATH=%{buildroot}%{python_sitelib} %{__python} tests.py
%if %{with python3}
pushd %{py3dir}
-PYTHONPATH=$RPM_BUILD_ROOT%{python3_sitelib} %{__python3} tests.py
+PYTHONPATH=%{buildroot}%{python3_sitelib} %{__python3} tests.py
popd
%endif
@@ -100,9 +100,12 @@ popd
%endif
%changelog
+* Mon Jun 17 2013 Dan Callaghan <dcallagh at redhat.com> - 0.21-2
+- $RPM_BUILD_ROOT -> %%{buildroot}
+
* Fri Jun 14 2013 Dan Callaghan <dcallagh at redhat.com> - 0.21-1
- updated to upstream release 0.21
- added Python 3 subpackage
-* Wed Nov 11 2011 Dan Callaghan <dcallagh at redhat.com> - 0.11-1
+* Wed Nov 16 2011 Dan Callaghan <dcallagh at redhat.com> - 0.11-1
- initial version
More information about the scm-commits
mailing list