diff --git a/python-translationstring.changes b/python-translationstring.changes index 65223b5..65494ac 100644 --- a/python-translationstring.changes +++ b/python-translationstring.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jul 29 07:50:51 UTC 2013 - speilicke@suse.com + +- Simplify macro usage +- Remove reStructuredText from %description + ------------------------------------------------------------------- Sun Jul 28 20:59:22 UTC 2013 - hpj@urpla.net diff --git a/python-translationstring.spec b/python-translationstring.spec index 2b66831..a5e80ec 100644 --- a/python-translationstring.spec +++ b/python-translationstring.spec @@ -27,28 +27,23 @@ Source: translationstring-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-pylons_sphinx_theme 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 -A library used by various `Pylons Project `_ packages -for internationalization (i18n) duties related to translation. +A library used by various Pylons Project packages for internationalization +(i18n) duties related to translation. This package provides a translation string class, a translation string factory class, translation and pluralization primitives, and a utility that helps -`Chameleon `_ templates use translation facilities -of this package. It does not depend on `Babel `_, -but its translation and pluralization services are meant to work best when -provided with an instance of the babel.support.Translations class. - -Please see http://docs.pylonsproject.org/projects/translationstring/dev/ or -the docs/index.rst file in this package for the documentation. +Chameleon templates use translation facilities of this package. It does not +depend on Babel, but its translation and pluralization services are meant to +work best when provided with an instance of the babel.support.Translations class. %package doc Summary: Utility library for i18n relied on by various Repoze and Pyramid packages