diff --git python-lazyarray/python-lazyarray.spec python-lazyarray/python-lazyarray.spec.tmp index a8497a15bd..a87a57dc90 100644 --- python-lazyarray/python-lazyarray.spec +++ python-lazyarray/python-lazyarray.spec.tmp @@ -3,7 +3,7 @@ Name: python-%{module_name} Version: 0.2.8 -Release: 7%{?dist} +Release: 8%{?dist} Summary: A lazily-evaluated numerical array class License: BSD @@ -13,11 +13,9 @@ Source0: https://pypi.python.org/packages/source/l/%{module_name}/%{module_na # Not included in the pypi release for some reason Source1: lazyarray-doc-conf.py Source2: Makefile.lazyarray -Provides: python2-%{module_name} BuildRequires: python2-devel python-setuptools numpy python-nose BuildRequires: python-sphinx -Requires: numpy BuildArch: noarch %if 0%{?with_python3} @@ -25,24 +23,34 @@ BuildRequires: python3-devel python3-setuptools python3-numpy BuildRequires: python3-nose %endif # if with_python3 -%description -lazyarray is a Python package that provides a lazily-evaluated numerical array -class, ``larray``, based on and compatible with NumPy arrays. +%global _description\ +lazyarray is a Python package that provides a lazily-evaluated numerical array\ +class, ``larray``, based on and compatible with NumPy arrays.\ +\ +Lazy evaluation means that any operations on the array (potentially including\ +array construction) are not performed immediately, but are delayed until\ +evaluation is specifically requested. Evaluation of only parts of the array is\ +also possible.\ +\ +Use of an ``larray`` can potentially save considerable computation time and\ +memory in cases where:\ +\ + * arrays are used conditionally (i.e. there are cases in which the array is\ + never used)\ + * only parts of an array are used (for example in distributed computation,\ + in which each MPI node operates on a subset of the elements of the array)\ +\ +Documentation: http://lazyarray.readthedocs.org/ -Lazy evaluation means that any operations on the array (potentially including -array construction) are not performed immediately, but are delayed until -evaluation is specifically requested. Evaluation of only parts of the array is -also possible. +%description %_description -Use of an ``larray`` can potentially save considerable computation time and -memory in cases where: +%package -n python2-%{module_name} +Summary: %summary +Provides: python2-%{module_name} +Requires: numpy +%{?python_provide:%python_provide python2-%{module_name}} - * arrays are used conditionally (i.e. there are cases in which the array is - never used) - * only parts of an array are used (for example in distributed computation, - in which each MPI node operates on a subset of the elements of the array) - -Documentation: http://lazyarray.readthedocs.org/ +%description -n python2-%{module_name} %_description %package docs Summary: Documentation for %{name} @@ -138,7 +146,7 @@ popd #popd #%endif -%files +%files -n python2-%{module_name} %doc LICENSE changelog.txt README %{python2_sitelib}/%{module_name}-%{version}-py?.?.egg-info %{python2_sitelib}/%{module_name}.py* @@ -159,6 +167,10 @@ popd %endif %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.2.8-8 +- Python 2 binary package renamed to python2-lazyarray + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.2.8-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild