diff --git a/python-zope.deprecation.changes b/python-zope.deprecation.changes index 58e1991..33ce1da 100644 --- a/python-zope.deprecation.changes +++ b/python-zope.deprecation.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jul 29 07:47:09 UTC 2013 - speilicke@suse.com + +- Package COPYRIGHT.txt, LICENSE.txt + ------------------------------------------------------------------- Sun Jul 28 23:36:34 UTC 2013 - hpj@urpla.net diff --git a/python-zope.deprecation.spec b/python-zope.deprecation.spec index 0219a4e..cca9160 100644 --- a/python-zope.deprecation.spec +++ b/python-zope.deprecation.spec @@ -26,15 +26,13 @@ Group: Development/Languages/Python Source: zope.deprecation-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-setuptools +# Documentation requirements: BuildRequires: python-Sphinx - -%if 0%{?suse_version} -%py_requires -%if 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()")} +%else BuildArch: noarch %endif -%endif -%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %description When we started working on Zope 3.1, we noticed that the hardest part of the @@ -66,6 +64,7 @@ python setup.py test %files %defattr(-,root,root,-) +%doc COPYRIGHT.txt LICENSE.txt README.txt %python_sitelib/* %files doc