[python-redis] BuildRoot is obsolete

Luke Macken lmacken at fedoraproject.org
Sat Jul 27 19:44:51 UTC 2013


commit 24eb3572d05dad14ab942130448e96c92bdaa185
Author: Luke Macken <lmacken at redhat.com>
Date:   Sat Jul 27 15:41:44 2013 -0400

    BuildRoot is obsolete

 python-redis.spec |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)
---
diff --git a/python-redis.spec b/python-redis.spec
index c24e38c..6f00bda 100644
--- a/python-redis.spec
+++ b/python-redis.spec
@@ -12,7 +12,6 @@ Group:          Development/Languages
 License:        MIT
 URL:            http://github.com/andymccurdy/redis-py
 Source0:        http://pypi.python.org/packages/source/r/redis/redis-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildArch:      noarch
 BuildRequires:  python-devel
@@ -54,8 +53,6 @@ popd
 %{__python} setup.py build
 
 %install
-rm -rf %{buildroot}
-
 %if 0%{?with_python3}
 pushd %{py3dir}
 %{__python3} setup.py install --skip-build --root=%{buildroot}
@@ -64,9 +61,6 @@ popd
 
 %{__python} setup.py install -O1 --skip-build --root %{buildroot}
 
-%clean
-rm -rf %{buildroot}
-
 %check
 %if 0%{?with_python3}
 pushd %{py3dir}
@@ -95,6 +89,7 @@ popd
 - Update to 2.7.6
 - Run the test suite
 - Add a python3 subpackage
+- Remove obsolete buildroot tag and cleanup
 
 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.7.2-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild


More information about the scm-commits mailing list