%global pypi_name expiring_dict Name: python-expiring-dict Version: 1.1.2 Release: 1%{?dist} Summary: Dictionary whose entries expire after a time-to-live License: MIT URL: https://github.com/dparker2/py-expiring-dict Source0: %{pypi_source %{pypi_name}} BuildArch: noarch BuildRequires: python3-devel BuildRequires: pyproject-rpm-macros %global _description %{expand: expiring_dict is a dict subclass whose keys disappear once their time-to-live elapses, with an optional maximum length. It is a separate project from the similarly named expiringdict, and MONAI Label depends on both.} %description %{_description} %package -n python3-expiring-dict Summary: %{summary} %description -n python3-expiring-dict %{_description} %prep %autosetup -n %{pypi_name}-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files %{pypi_name} %check %pyproject_check_import %files -n python3-expiring-dict -f %{pyproject_files} %license LICENSE %doc README.md %changelog * Tue Sep 15 2026 Morgan Hough - 1.1.2-1 - Initial package: expiring_dict 1.1.2. - Not a duplicate of python-expiringdict: two unrelated upstreams with nearly the same name, and MONAI Label requires both. - PyPI carries no licence metadata; the sdist LICENSE is plain MIT.