## START: Set by rpmautospec ## (rpmautospec version 0.8.1) ## 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 %global srcname bibtexparser Name: python-%{srcname} Version: 1.4.3 Release: %autorelease Summary: A BibTeX parsing library License: BSD-3-Clause OR LGPL-3.0-or-later URL: https://github.com/sciunto-org/python-%{srcname} Source0: https://github.com/sciunto-org/python-%{srcname}/archive/v%{version}/%{name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-sphinx %global _description %{expand: BibtexParser is a python library to parse BibTeX files. The code relies on pyparsing and is tested with unit tests.} %description %_description %package -n python3-%{srcname} Summary: %{summary} %{?python_provide:%python_provide python3-%{srcname}} %description -n python3-%{srcname} %_description %package doc Summary: python-bibtexparser documentation %description doc Documentation for python-bibtexparser. %prep %autosetup -p1 -n python-%{srcname}-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel # Generate html documentation. PYTHONPATH=${PWD} sphinx-build docs/source html # Remove the sphinx-build leftovers. rm -rf html/.{doctrees,buildinfo} %install %pyproject_install %pyproject_save_files -l bibtexparser # Avoid tox, as that requires python-nose, and Fedora retired that package # for lack of maintenance. Upstream appears to have abandoned tox too, but # they have not yet published a release with this change. %check %pyproject_check_import %files -n python3-%{srcname} -f %{pyproject_files} %doc CHANGELOG README.rst requirements.txt %license COPYING %files doc %doc html %license COPYING %changelog ## START: Generated by rpmautospec * Thu Oct 23 2025 W. Michael Petullo - 1.4.3-8 - Use new Python packaging macros * Fri Sep 19 2025 Python Maint - 1.4.3-7 - Rebuilt for Python 3.14.0rc3 bytecode * Fri Aug 15 2025 Python Maint - 1.4.3-6 - Rebuilt for Python 3.14.0rc2 bytecode * Fri Jul 25 2025 Fedora Release Engineering - 1.4.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Tue Jun 03 2025 Python Maint - 1.4.3-4 - Rebuilt for Python 3.14 * Sat Jan 18 2025 Fedora Release Engineering - 1.4.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Wed Jan 01 2025 W. Michael Petullo - 1.4.3-2 - Review and adjust license after SPDX cleanup * Wed Jan 01 2025 W. Michael Petullo - 1.4.3-1 - Update to 1.4.3 * Wed Sep 04 2024 Miroslav Suchý - 1.4.1-4 - convert license to SPDX * Fri Jul 19 2024 Fedora Release Engineering - 1.4.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 07 2024 Python Maint - 1.4.1-2 - Rebuilt for Python 3.13 * Sun Jun 02 2024 W. Michael Petullo - 1.4.1-1 - Update to 1.4.1 * Fri Jan 26 2024 Fedora Release Engineering - 1.4.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 1.4.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Tue Aug 29 2023 Lumir Balhar - 1.4.0-4 - Remove useless dependency on future * Fri Jul 21 2023 Fedora Release Engineering - 1.4.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jun 29 2023 Python Maint - 1.4.0-2 - Rebuilt for Python 3.12 * Thu May 18 2023 W. Michael Petullo - 1.4.0-1 - Update to 1.4.0 * Fri Jan 20 2023 Fedora Release Engineering - 1.2.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 1.2.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue Jul 19 2022 Zbigniew Jędrzejewski-Szmek - 1.2.0-4 - Rebuilt for pyparsing-3.0.9 * Mon Jun 13 2022 Python Maint - 1.2.0-3 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 1.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Dec 15 2021 W. Michael Petullo - 1.2.0-1 - Update 1.2.0 * Fri Jul 23 2021 Fedora Release Engineering - 1.1.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 1.1.0-5 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 1.1.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 1.1.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok - 1.1.0-2 - Rebuilt for Python 3.9 * Thu Mar 26 2020 W. Michael Petullo - 1.1.0-1 - Initial import (#1812973) ## END: Generated by rpmautospec