## START: Set by rpmautospec ## (rpmautospec version 0.3.0) %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 4; 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-pyABF Version: 2.3.6 Release: %autorelease Summary: Python library for reading files in Axon Binary Format License: MIT URL: https://github.com/swharden/pyABF Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-pytest %global _description %{expand: pyABF is a Python package for reading electrophysiology data from Axon Binary Format (ABF) files.} %description %_description %package -n python3-pyABF Summary: %{summary} %description -n python3-pyABF %_description %prep %autosetup -n pyABF-%{version} %generate_buildrequires cd src/ %pyproject_buildrequires -r %build cd src/ %pyproject_wheel %install cd src/ %pyproject_install %pyproject_save_files pyabf %check %pytest %files -n python3-pyABF -f %{pyproject_files} %doc README.* %changelog * Fri Jan 20 2023 Fedora Release Engineering 2.3.6-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Wed Sep 28 2022 Benjamin A. Beasley - 2.3.6-3 - Fix broken changelog (fix RHBZ#2129936) * Mon Sep 12 2022 Vanessa Kris 2.3.6-1 - removed patch * Mon Sep 12 2022 Vanessa Kris 2.3.5-4 - added patch * Mon Sep 12 2022 Vanessa Kris 2.3.5-3 - added patch 9cd568066b5ff8d6079e2d8cf8af388066cc9b79 * Mon Sep 12 2022 Vanessa_kris 2.3.5-2 - f37 build * Mon Sep 12 2022 Vanessa_kris 2.3.5-1 - initial build