## START: Set by rpmautospec ## (rpmautospec version 0.3.5) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 8; 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 %build cd src/ %pyproject_wheel %install cd src/ %pyproject_install %pyproject_save_files -l pyabf %check %pytest %files -n python3-pyABF -f %{pyproject_files} %doc README.* %changelog * Thu Jan 04 2024 Benjamin A. Beasley - 2.3.6-8 - Assert that a license file is present in the .dist-info directory * Fri Jul 21 2023 Fedora Release Engineering - 2.3.6-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jun 27 2023 Python Maint - 2.3.6-5 - Rebuilt for Python 3.12 * 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