Sascha Peilicke 2013-04-29 13:39:32 +00:00 committed by Git OBS Bridge
parent a78edf9b26
commit 31370018b4
2 changed files with 10 additions and 5 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Apr 29 13:39:22 UTC 2013 - speilicke@suse.com
- Add README.rst
-------------------------------------------------------------------
Mon Apr 29 13:15:45 UTC 2013 - dmueller@suse.com

View File

@ -30,7 +30,6 @@ BuildRequires: python-WebOb
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%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_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
%else
BuildArch: noarch
%endif
@ -42,16 +41,17 @@ Proxy support for WebOb or classic WSGI applications
%setup -q -n WSGIProxy2-%{version}
%build
CFLAGS="%{optflags}" python setup.py build
%check
python setup.py test
python setup.py build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%check
python setup.py test
%files
%defattr(-,root,root,-)
%doc README.rst
%{python_sitelib}/*
%changelog