devel/python-amara python-amara.spec,1.2,1.3
Michael Schwendt
bugs.michael at gmx.net
Thu Mar 17 13:03:12 UTC 2005
On Wed, 16 Mar 2005 18:42:01 -0500, Ignacio Vazquez-Abrams (ivazquez) wrote:
> Author: ivazquez
>
> Update of /cvs/extras/devel/python-amara
> -%{expand: %%define pyver %(python -c 'import sys;print(sys.version[0:3])')}
> +%{!?pyver: %define pyver %(python -c 'import sys;print(sys.version[0:3])')}
> +%define mainpyver %(python -c 'import sys;print(sys.version[0:3])')
> +BuildRequires: python-abi = %{pyver}
> +Requires: python-abi = %{pyver} 4Suite >= 1.0
> +%{_libdir}/python%{pyver}/site-packages/amara
Please take a look at e.g. the "bittorrent" package in devel tree on
how to use %python_sitelib.
> +%if "%{pyver}" == "%{mainpyver}"
> +%define name python-amara
> +%define prov python%{pyver}-amara = %{version} python-amara = %{version}
> +%else
> +%define name python%{pyver}-amara
> +%define prov python%{pyver}-Amara = %{version}
> +%endif
> +Provides: %{prov}
I consider this unnecessary and ugly bloat, also considering that we have
specific Python module naming guidelines. You're over-complicating the
packaging.
More information about the fedora-extras-commits
mailing list