## START: Set by rpmautospec ## (rpmautospec version 0.8.3) ## 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.93 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 %if %{fedora} <= 42 # correct license declaration: errors on F42 sed -i -e '/^license/ d' pyproject.toml %endif # sanitize test requirements, unpin sed -i -e '/coverage/ d' \ -e '/pytest-cov/ d' \ -e 's/pytest>.*"/pytest"/' \ -e 's/pytest-xdist>.*"/pytest"/' \ pyproject.toml cat pyproject.toml %generate_buildrequires %pyproject_buildrequires -g tests,build %build %{python3} scripts/l10n/generate_mo_files.py %pyproject_wheel %install %pyproject_install %pyproject_save_files -l holidays %check %pyproject_check_import %if %{fedora} <= 42 %pytest -v -k "not test_metadata" . %else %pytest -v -k . %endif %files -n python3-holidays -f %{pyproject_files} %doc README.md CHANGES.md CONTRIBUTORS %changelog ## START: Generated by rpmautospec * Mon Mar 16 2026 Packit - 0.93-1 - Update to 0.93 upstream release - Resolves: rhbz#2448173 * Wed Mar 04 2026 Ankur Sinha (Ankur Sinha Gmail) - 0.92-1 - feat: update to 0.92 (fixes rh#2444012) * Wed Mar 04 2026 Ankur Sinha (Ankur Sinha Gmail) - 0.90-3 - feat: add packit * Tue Feb 03 2026 Ankur Sinha (Ankur Sinha Gmail) - 0.90-2 - chore: remove obsolete pkg file * Tue Feb 03 2026 Ankur Sinha (Ankur Sinha Gmail) - 0.90-1 - feat: update to 0.90 (fixes rh#2390276) * Wed Oct 29 2025 Ankur Sinha (Ankur Sinha Gmail) - 0.80-1 - feat: update to new release, include locale files * Fri Aug 22 2025 Ankur Sinha (Ankur Sinha Gmail) - 0.79-2 - fix(f42): tweak license in pyproject * 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 - 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 * Thu Jul 16 2020 Fabian Affolter - 0.10.3-1 - Update to latest upstream release 0.10.3 (#1857281) * Tue Jun 23 2020 Fabian Affolter - 0.10.2-1 - Update to latest upstream release 0.10.2 (#1823316) * Tue May 26 2020 Miro HronĨok - 0.10.1-2 - Rebuilt for Python 3.9 * Sat Feb 01 2020 Fabian Affolter - 0.10.1-1 - Update to latest upstream release 0.10.1 * Thu Jan 30 2020 Fedora Release Engineering - 0.9.12-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Tue Jan 07 2020 Fabian Affolter - 0.9.12-2 - Better use of wildcards (rhbz#1786940) * Sun Dec 29 2019 Fabian Affolter - 0.9.12-1 - Initial package for Fedora ## END: Generated by rpmautospec