Sascha Peilicke 2012-01-31 14:11:32 +00:00 committed by Git OBS Bridge
parent ec2c5be977
commit eaf11dd8ba
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Jan 31 14:11:43 UTC 2012 - saschpe@suse.de
- Run testsuite
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Dec 5 12:31:47 UTC 2011 - saschpe@suse.de Mon Dec 5 12:31:47 UTC 2011 - saschpe@suse.de

View File

@ -26,9 +26,10 @@ Source: http://pypi.python.org/packages/source/p/pip/pip-%{version}.tar.
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-devel BuildRequires: python-devel
BuildRequires: python-distribute BuildRequires: python-distribute
BuildRequires: python-nose
Requires: python-distribute Requires: python-distribute
%if 0%{?suse_version} && 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()")} %{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%else %else
BuildArch: noarch BuildArch: noarch
%endif %endif
@ -48,6 +49,9 @@ python setup.py build
%install %install
python setup.py install --prefix=%{_prefix} --root=%{buildroot} python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%check
cd tests && nosetests
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc AUTHORS.txt LICENSE.txt docs/* %doc AUTHORS.txt LICENSE.txt docs/*