You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
%{!?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: 2%{?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
|
|
|
|
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
|
|
|
* Sat Sep 04 2010 Silas Sewell <silas@sewell.ch> - 2.0.0-1
|
|
|
|
- Initial build
|