%global commit a61cddfb2275187822ad0c3999af747b8c9a4f9a %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global tag 1.2.4 %global bumpver 1 Name: python-anisette Version: %{tag}^%{bumpver}.git.%{shortcommit} Release: 2%{?dist} Summary: Apple anisette data provider License: MIT URL: https://github.com/malmeloo/Anisette.py Source0: https://github.com/sacca97/Anisette.py/archive/%{commit}/Anisette.py-%{shortcommit}.tar.gz BuildArch: noarch BuildRequires: python3-devel %global _description %{expand: Apple anisette data provider using the macOS ADI backend (PR 6).} %description %_description %package -n python3-anisette Summary: %{summary} %description -n python3-anisette %_description %prep %autosetup -n Anisette.py-%{commit} sed -i -e '/"fs>=/d;/"typer>=/d;/"rich>=/d;/"fastapi>=/d;/"granian>=/d' \ -e 's|"websockets>=16[^"]*"|"websockets>=15"|;s|"macOS-ADI-emulator @ git+[^"]*"|"macos-adi-emulator"|' pyproject.toml %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install rm -f %{buildroot}%{_bindir}/ani* %pyproject_save_files -l anisette %check %pyproject_check_import -e 'anisette.cli*' -e anisette.__main__ %files -n python3-anisette -f %{pyproject_files} %changelog * Sun Nov 15 2026 Lachlan Marie - 1.2.4^1.git.a61cddf-2 - Drop unused fs dependency * Sun Nov 15 2026 Lachlan Marie - 1.2.4^1.git.a61cddf-1 - Replace date snapshot with bumpver * Thu Nov 05 2026 Lachlan Marie - 1.2.4^20261021gita61cddf-4 - Update to commit a61cddfb2275187822ad0c3999af747b8c9a4f9a * Sun Oct 25 2026 Lachlan Marie - 1.2.4^20261021git627c9c6-4 - Keep CLI modules in file list * Sun Oct 25 2026 Lachlan Marie - 1.2.4^20261021git627c9c6-3 - Skip CLI import check * Sun Oct 25 2026 Lachlan Marie - 1.2.4^20261021git627c9c6-2 - Relax websockets pin * Sun Oct 25 2026 Lachlan Marie - 1.2.4^20261021git627c9c6-1 - Update to PR 6 head (macOS ADI backend) - Add macos-adi-emulator dependency - Drop CLI and server deps