14
0

- Package README and CHANGES

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Logbook?expand=0&rev=2
This commit is contained in:
Sascha Peilicke
2013-04-29 13:53:05 +00:00
committed by Git OBS Bridge
parent 3c3a6af74d
commit 258a0881d4
2 changed files with 10 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Apr 29 13:52:56 UTC 2013 - speilicke@suse.com
- Package README and CHANGES
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Apr 25 09:06:37 UTC 2013 - prusnak@opensuse.org Thu Apr 25 09:06:37 UTC 2013 - prusnak@opensuse.org

View File

@@ -24,10 +24,9 @@ Url: http://logbook.pocoo.org/
Group: Development/Languages/Python Group: Development/Languages/Python
Source: http://pypi.python.org/packages/source/L/Logbook/Logbook-%{version}.tar.gz Source: http://pypi.python.org/packages/source/L/Logbook/Logbook-%{version}.tar.gz
BuildRequires: python-devel BuildRequires: python-devel
BuildRequires: python-setuptools BuildRequires: python-distribute
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_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} %{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
%endif %endif
@@ -43,8 +42,12 @@ CFLAGS="%{optflags}" python setup.py build
%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 CHANGES README
%{python_sitearch}/* %{python_sitearch}/*
%changelog %changelog