diff --git python-quantities/python-quantities.spec python-quantities/python-quantities.spec.tmp index 6fa553196a..7945cec217 100644 --- python-quantities/python-quantities.spec +++ python-quantities/python-quantities.spec.tmp @@ -3,7 +3,7 @@ Name: python-%{module_name} Version: 0.10.1 -Release: 8%{?dist} +Release: 9%{?dist} Summary: Support for physical quantities with units, based on numpy License: BSD @@ -14,22 +14,30 @@ Source0: https://pypi.python.org/packages/source/q/%{module_name}/%{module_na Source1: license.rst BuildRequires: python2-devel python-setuptools numpy -Requires: numpy BuildArch: noarch %if 0%{?with_python3} BuildRequires: python3-devel python3-setuptools python3-numpy %endif # if with_python3 -%description -Quantities is designed to handle arithmetic and conversions of physical -quantities, which have a magnitude, dimensionality specified by various units, -and possibly an uncertainty. See the tutorial for examples. Quantities builds -on the popular numpy library and is designed to work with numpy ufuncs, many of -which are already supported. Quantities is actively developed, and while the -current features and API are stable, test coverage is incomplete so the package +%global _description\ +Quantities is designed to handle arithmetic and conversions of physical\ +quantities, which have a magnitude, dimensionality specified by various units,\ +and possibly an uncertainty. See the tutorial for examples. Quantities builds\ +on the popular numpy library and is designed to work with numpy ufuncs, many of\ +which are already supported. Quantities is actively developed, and while the\ +current features and API are stable, test coverage is incomplete so the package\ is not suggested for mission-critical applications. +%description %_description + +%package -n python2-%{module_name} +Summary: %summary +Requires: numpy +%{?python_provide:%python_provide python2-%{module_name}} + +%description -n python2-%{module_name} %_description + %if 0%{?with_python3} %package -n python3-%{module_name} Summary: Support for physical quantities with units, based on numpy @@ -80,7 +88,7 @@ pushd %{py3dir} popd %endif # with_python3 -%files +%files -n python2-%{module_name} %doc CHANGES.txt README.txt license.rst %{python2_sitelib}/%{module_name}-%{version}-py?.?.egg-info %{python2_sitelib}/%{module_name}/ @@ -94,6 +102,10 @@ popd %endif %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.10.1-9 +- Python 2 binary package renamed to python2-quantities + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.10.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild