diff --git a/python-docopt.changes b/python-docopt.changes index 80d9b30..03c86bd 100644 --- a/python-docopt.changes +++ b/python-docopt.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Feb 10 10:21:01 UTC 2014 - speilicke@suse.com + +- Add LICENSE-MIT README.rst, use proper macros and use setuptools + instead of distribte (upstreams merged) + ------------------------------------------------------------------- Wed Feb 5 17:52:12 UTC 2014 - arun@gmx.de diff --git a/python-docopt.spec b/python-docopt.spec index 6e4925c..38ef23a 100644 --- a/python-docopt.spec +++ b/python-docopt.spec @@ -13,20 +13,25 @@ # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Name: python-docopt Version: 0.6.1 Release: 0 -License: MIT Summary: Pythonic argument parser, that will make you smile -Url: http://docopt.org +License: MIT Group: Development/Languages/Python +Url: http://docopt.org Source: https://pypi.python.org/packages/source/d/docopt/docopt-%{version}.tar.gz BuildRequires: python-devel -BuildRequires: python-distribute +BuildRequires: python-setuptools 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()")} +%else BuildArch: noarch +%endif %description docopt creates beautiful command-line interfaces. @@ -55,6 +60,7 @@ python setup.py install --prefix=%{_prefix} --root=%{buildroot} %files %defattr(-,root,root,-) +%doc LICENSE-MIT README.rst %{python_sitelib}/* %changelog