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