Search
j0ke.net Open Build Service
>
Projects
>
home:netmax
:
tools
>
python-futures
> python-futures.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File python-futures.spec of Package python-futures (Revision 6)
Currently displaying revision
6
,
show latest
Name: python-futures Version: 2.1.3 Release: 1 Url: http://code.google.com/p/pythonfutures/ License: BSD Summary: A Java-style futures package for Python Group: Development/Languages/Python Source0: pythonfutures.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: python >= 2.6 %description This package is described in PEP-3148 and is included in Python 3.2. See the Python documentation for a full description. %prep %setup -n pythonfutures %build python setup.py build %install %if 0%{?suse_version} python setup.py install \ --root=%{buildroot} \ --prefix=%{_prefix} \ --record-rpm=%{name}.filelist echo "DEBUG Path: `pwd`" echo "DEBUG Dir: " ls -al %else python setup.py install \ --root=%{buildroot} \ --prefix=%{_prefix} cd $RPM_BUILD_ROOT find . -type d | sed '1,2d;s,^\.,\%attr(-\,root\,root) \%dir ,' > $RPM_BUILD_DIR/pythonfutures/%{name}.filelist find . -type f | sed 's,^\.,\%attr(-\,root\,root) ,' >> $RPM_BUILD_DIR/pythonfutures/%{name}.filelist find . -type l | sed 's,^\.,\%attr(-\,root\,root) ,' >> $RPM_BUILD_DIR/pythonfutures/%{name}.filelist echo "DEBUG Path: `pwd`" echo "DEBUG Dir: " ls -al %endif echo "CONTENT FL:" cat %{name}.filelist %clean rm -rf %{buildroot} %files -f %{name}.filelist %defattr(-,root,root) %doc CHANGES %changelog