SHA256
1
0
forked from pool/python-smmap

- Use upstream tarball

- Simplified macro usage
- Run testsuite

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-smmap?expand=0&rev=3
This commit is contained in:
Sascha Peilicke 2012-03-14 13:40:43 +00:00 committed by Git OBS Bridge
parent a203a76c27
commit ef396a9f01
4 changed files with 17 additions and 10 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Mar 14 13:40:44 UTC 2012 - saschpe@suse.de
- Use upstream tarball
- Simplified macro usage
- Run testsuite
-------------------------------------------------------------------
Thu Jan 19 02:02:31 UTC 2012 - alexandre@exatati.com.br

View File

@ -15,8 +15,6 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
Name: python-smmap
Version: 0.8.2
@ -25,16 +23,15 @@ Url: https://github.com/Byron/smmap
Summary: A pure git implementation of a sliding window memory map manager
License: BSD-2-Clause
Group: Development/Languages/Python
Source: smmap-%{version}.tar.bz2
Source: http://pypi.python.org/packages/source/s/smmap/smmap-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-devel
BuildRequires: python-distribute
%if 0%{?suse_version}
%py_requires
%if 0%{?suse_version} > 1110
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%else
BuildArch: noarch
%endif
%endif
%description
When reading from many possibly large files in a fashion similar to random
@ -56,6 +53,9 @@ python setup.py build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%check
python setup.py test
%files
%defattr(-,root,root,-)
%{python_sitelib}/*

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3b61ef60aee163818bbdd461e7c9902cbd5405361e3b83c25a73d40acdeb350e
size 17429

3
smmap-0.8.2.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:dea2955cc045ec5527da6b762f7e95a5be7f645c683b54ccce52d56b4d7e2d6f
size 20942