[python-redis/el5/master] Initial import

Silas Sewell silas at fedoraproject.org
Tue Nov 2 13:35:52 UTC 2010


commit 6bd5ce048c8c9fd8d35567978a6ddc5d1c8cf7b8
Author: Silas Sewell <silas at sewell.ch>
Date:   Tue Nov 2 09:35:37 2010 -0400

    Initial import

 .gitignore        |    1 +
 python-redis.spec |   43 +++++++++++++++++++++++++++++++++++++++++++
 sources           |    1 +
 3 files changed, 45 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..9ff9656 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/redis-2.0.0.tar.gz
diff --git a/python-redis.spec b/python-redis.spec
new file mode 100644
index 0000000..0e249a1
--- /dev/null
+++ b/python-redis.spec
@@ -0,0 +1,43 @@
+%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+
+%global upstream_name redis
+
+Name:           python-%{upstream_name}
+Version:        2.0.0
+Release:        1%{?dist}
+Summary:        A Python client for redis
+
+Group:          Development/Languages
+License:        MIT
+URL:            http://github.com/andymccurdy/redis-py
+Source0:        http://github.com/downloads/andymccurdy/redis-py/%{upstream_name}-%{version}.tar.gz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildArch:      noarch
+BuildRequires:  python-devel
+
+%description
+This is a Python interface to the Redis key-value store.
+
+%prep
+%setup -q -n %{upstream_name}-%{version}
+
+%build
+%{__python} setup.py build
+
+%install
+rm -rf %{buildroot}
+%{__python} setup.py install -O1 --skip-build --root %{buildroot}
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(-,root,root,-)
+%doc CHANGES LICENSE README.md
+%{python_sitelib}/%{upstream_name}
+%{python_sitelib}/%{upstream_name}-%{version}-*.egg-info
+
+%changelog
+* Sat Sep 04 2010 Silas Sewell <silas at sewell.ch> - 2.0.0-1
+- Initial build
diff --git a/sources b/sources
index e69de29..aeaa933 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+a77497d026885ed9c467a28e2d00388d  redis-2.0.0.tar.gz


More information about the scm-commits mailing list