## START: Set by rpmautospec ## (rpmautospec version 0.3.5) ## 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 # do not use github sources, they include the js web sources and so on also Name: python-bids-validator Version: 1.13.1 Release: %autorelease Summary: Validator for the Brain Imaging Data Structure # Already spdx License: MIT URL: https://github.com/bids-standard/bids-validator Source0: %{pypi_source bids-validator} BuildArch: noarch BuildRequires: python3-devel %global common_description %{expand: A library of helper functions written in Python, for use with BIDS compliant applications written in this language.} %description %{common_description} %package -n python3-bids-validator Summary: %{summary} %description -n python3-bids-validator %{common_description} %prep %autosetup -n bids-validator-%{version} %generate_buildrequires %pyproject_buildrequires %build # The test module really shouldn’t be installed with the package: mv -v bids_validator/test_*.py ./ %pyproject_wheel %install %pyproject_install %pyproject_save_files bids_validator %check # Upstream tests require downloading data, and it's not obvious how we could # make them work with pre-downloaded data. %pyproject_check_import %files -n python3-bids-validator -f %{pyproject_files} %doc README.md %changelog * Mon Oct 16 2023 Ankur Sinha (Ankur Sinha Gmail) - 1.13.1-1 - feat: update to 1.13.1 (fixes rh#2238838) * Mon Oct 16 2023 Ankur Sinha (Ankur Sinha Gmail) - 1.12.0-3 - chore: add packit * Fri Jul 21 2023 Fedora Release Engineering - 1.12.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Sat Jul 01 2023 Benjamin A. Beasley - 1.12.0-1 - Update to 1.12.0 (close RHBZ#2218978) * Tue Jun 13 2023 Python Maint - 1.11.0-2 - Rebuilt for Python 3.12 * Mon May 01 2023 Benjamin A. Beasley - 1.11.0-1 - Update to 1.11.0 (close RHBZ#2179368) * Fri Feb 17 2023 Ankur Sinha (Ankur Sinha Gmail) - 1.10.0-1 - feat: update to 1.10.0 (fixes rhbz#2069442) * Fri Jan 20 2023 Fedora Release Engineering - 1.9.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 1.9.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jul 11 2022 Benjamin A. Beasley - 1.9.2-3 - Fix extra newline in description * Mon Jun 13 2022 Python Maint - 1.9.2-2 - Rebuilt for Python 3.11 * Sat Feb 19 2022 Ankur Sinha (Ankur Sinha Gmail) - 1.9.2-1 - feat: update to 1.9.2 (fixes rhbz#2055345) * Fri Jan 21 2022 Fedora Release Engineering - 1.8.9-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Dec 17 2021 Benjamin A. Beasley - 1.8.9-1 - Update to 1.8.9 (close RHBZ#2033079) * Sat Dec 04 2021 Benjamin A. Beasley - 1.8.8-1 - Update to 1.8.8 (close RHBZ#2028645) * Sun Nov 07 2021 Benjamin A. Beasley - 1.8.4-1 - Update to 1.8.4 (close RHBZ#2020976) - Switch to pyproject-rpm-macros (“new guidelines”) - Backport updated versioneer from 1.8.5, which is not yet on PyPI, fixing Python 3.11 support (fix RHBZ#20190576) * Fri Jul 23 2021 Fedora Release Engineering - 1.2.2-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 1.2.2-9 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 1.2.2-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 1.2.2-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok - 1.2.2-6 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 1.2.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Oct 03 2019 Miro Hrončok - 1.2.2-4 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 1.2.2-3 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 1.2.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Mon Apr 08 2019 Ankur Sinha - 1.2.2-1 - Initial package