## 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-holidays Version: 0.79 Release: %autorelease Summary: Generate and work with holidays in Python License: MIT URL: https://github.com/vacanza/holidays Source0: %{url}/archive/v%{version}/holidays-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel %global _description %{expand: A fast, efficient Python library for generating country, province and state specific sets of holidays on the fly. It aims to make determining whether a specific date is a holiday as fast and flexible as possible.} %description %_description %package -n python3-holidays Summary: %{summary} %description -n python3-holidays %_description %prep %autosetup -n holidays-%{version} # remove coverage options from pytest sed -i '/--cov-fail-under=100/ d' pyproject.toml cat pyproject.toml # sanitize test requirements, unpin sed -i -e '/coverage/ d' \ -e 's/==.*$//' \ -e 's/>=.*$//' \ -e 's/<=.*$//' \ -e 's/<.*$//' \ -e 's/>.*$//' \ -e '/pytest-cov/ d' \ requirements/tests.txt cat requirements/tests.txt %generate_buildrequires %pyproject_buildrequires requirements/tests.txt %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l holidays %check %pyproject_check_import %{python3} scripts/l10n/generate_mo_files.py %pytest -v . %files -n python3-holidays -f %{pyproject_files} %license LICENSE %doc README.md CHANGES.md CONTRIBUTORS %changelog ## START: Generated by rpmautospec * Fri Aug 22 2025 Ankur Sinha (Ankur Sinha Gmail) - 0.79-1 - Uncommitted changes * Fri Aug 22 2025 Ankur Sinha (Ankur Sinha Gmail) - 0.10.4-4 - Revert "Orphaned for 6+ weeks" * Fri Jun 04 2021 Python Maint - 0.10.4-3 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 0.10.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sun Dec 06 2020 Fabian Affolter - 0.10.4-1 - * Sun Dec 06 2020 Fabian Affolter - 0.10.4-1 - Update to latest upstream releas 0.10.3 (#1904781) * Sat Aug 01 2020 Fedora Release Engineering - 0.10.3-3 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 0.10.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jul 15 2020 Fabian Affolter - 0.10.3-1 - * Thu Jul 16 2020 Fabian Affolter - 0.10.3-1 - Update to latest upstream release 0.10.3 (rhbz#1857281) * Tue Jun 23 2020 Fabian Affolter - 0.10.2-2 - Update BR * Tue Jun 23 2020 Fabian Affolter - 0.10.2-1 - * Tue Jun 23 2020 Fabian Affolter - 0.10.2-1 - Update to latest upstream release 0.10.2 (rhbz#1823316) * Tue May 26 2020 Miro HronĨok - 0.10.1-6 - Rebuilt for Python 3.9 * Sun Feb 02 2020 Fabian Affolter - 0.10.1-5 - Fix typo * Sun Feb 02 2020 Fabian Affolter - 0.10.1-4 - Add new BR * Sat Feb 01 2020 Fabian Affolter - 0.10.1-3 - Update files section * Sat Feb 01 2020 Fabian Affolter - 0.10.1-2 - RPMAUTOSPEC: unresolvable merge ## END: Generated by rpmautospec