## START: Set by rpmautospec ## (rpmautospec version 0.8.1) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; 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-gsw Version: 3.6.20 Release: %autorelease Summary: Gibbs Seawater Oceanographic Package of TEOS-10 License: BSD-3-Clause URL: https://www.teos-10.org/ Source: %pypi_source gsw BuildRequires: python3-devel BuildRequires: gcc # Test dependencies. BuildRequires: python3dist(pandas) BuildRequires: python3dist(pytest) %global _description %{expand: Python implementation of the Thermodynamic Equation of Seawater 2010 (TEOS-10) based primarily on NumPy ufunc wrappers of the GSW-C implementation. } %description %_description %package -n python3-gsw Summary: %{summary} %description -n python3-gsw %_description %prep %autosetup -p1 -n gsw-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l gsw %check %pytest %files -n python3-gsw -f %{pyproject_files} %changelog ## START: Generated by rpmautospec * Wed Nov 26 2025 John Doe - 3.6.20-1 - Uncommitted changes ## END: Generated by rpmautospec