Search
j0ke.net Open Build Service
>
Projects
>
devel
:
python
>
python-ordereddict
> python-ordereddict.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File python-ordereddict.spec of Package python-ordereddict
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} Name: python-ordereddict Version: 1.1 Release: 2%{?dist} Summary: Implementation of Python 2.7's OrderedDict Group: Development/Languages License: MIT URL: http://pypi.python.org/pypi/ordereddict Source0: http://pypi.python.org/packages/source/o/ordereddict/ordereddict-1.1.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) %if 0%{!?suse_version} BuildArch: noarch %endif BuildRequires: python-devel %description Drop-in substitute for Py2.7's new collections.OrderedDict. Originally based on http://code.activestate.com/recipes/576693/ %prep %setup -q -n ordereddict-%{version} %build %{__python} setup.py build %install rm -rf $RPM_BUILD_ROOT %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT --prefix %{_prefix} %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc LICENSE %{python_sitelib}/* %changelog * Thu Oct 28 2010 James Ni <jni@redhat.com> 1.1-2 - Modify the spec file and update to upstream source * Wed Jul 14 2010 James Ni <jni@redhat.com> 1.1-1 - Initial RPM release