## START: Set by rpmautospec ## (rpmautospec version 0.8.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 2; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: python-uncertainties Version: 3.2.3 Release: %autorelease Summary: Transparent calculations with uncertainties on the quantities involved License: BSD-3-Clause URL: https://github.com/lmfit/uncertainties Source: %{url}/archive/%{version}/uncertainties-%{version}.tar.gz # https://github.com/lmfit/uncertainties/pull/341 Patch0: uncertainties-3.2.3-fix-tests.patch BuildArch: noarch BuildSystem: pyproject BuildOption(prep): -n uncertainties-%{version} BuildOption(generate_buildrequires): -x arrays,test BuildOption(install): -l uncertainties %global common_description %{expand: The uncertainties package allows calculations with values that have uncertainties, such as (2 +/- 0.1)*2 = 4 +/- 0.2. uncertainties takes the pain and complexity out of error propagation and calculations of values with uncertainties.} %description %{common_description} %package -n python3-uncertainties Summary: %{summary} %description -n python3-uncertainties %{common_description} %package -n python3-uncertainties-doc Summary: Documentation for %{name} BuildRequires: python3-sphinx BuildRequires: %{py3_dist sphinx_copybutton} BuildRequires: %{py3_dist python_docs_theme} BuildRequires: make %description -n python3-uncertainties-doc %{common_description} %prep -a sed -i 's/"pytest_codspeed",//' pyproject.toml %generate_buildrequires -p export SETUPTOOLS_SCM_PRETEND_VERSION='%{version}' %build -p export SETUPTOOLS_SCM_PRETEND_VERSION='%{version}' pushd doc make html rm _build/html/.buildinfo popd %check %pytest %files -n python3-uncertainties -f %{pyproject_files} %files -n python3-uncertainties-doc %license LICENSE.txt %doc doc/_build/html %changelog ## START: Generated by rpmautospec * Sat Jan 17 2026 Fedora Release Engineering - 3.2.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild * Mon Dec 29 2025 topazus - 3.2.3-1 - initial import ## END: Generated by rpmautospec