%global commit 096971deeb9db49b588f2d5e1a6a34d248777c79 Name: t2-acpi-autofix Version: 0.1.r3.g096971deeb9d Release: 100.1.1%{?dist} Summary: 4f1sh3r's Automated ACPI fixes for Intel Apple T2 Macs License: MIT URL: https://github.com/4f1sh3r/t2-acpi-autofix Source0: https://github.com/4f1sh3r/t2-acpi-autofix/archive/%{commit}/t2-acpi-autofix-%{commit}.tar.gz Patch0: 0001-mkinitcpio-use-early-cpio.patch ExclusiveArch: x86_64 Requires: python3 Requires: acpica-tools Requires: dracut %description Detects and safely repairs two known ACPI firmware problems on Intel Apple T2 Macs: the CpuSSDT secondary-CPU resume issue and the DSDT _OSC buffer overflow. The tool builds overrides from the running machine's own ACPI tables, validates them before deployment, creates backups, and rebuilds the initramfs using the available supported initramfs tooling. The package does not modify ACPI tables automatically when installed. Run `t2-acpi-autofix --dry-run` to validate a machine and `t2-acpi-autofix` as root to deploy the fixes. %prep %autosetup -n t2-acpi-autofix-%{commit} -p1 %build # No build step required. %install install -Dm0755 t2_acpi_fix.py \ %{buildroot}%{_bindir}/t2-acpi-autofix %files %{_bindir}/t2-acpi-autofix %changelog * Mon Aug 31 2026 Sl (Shahaf Levi) - 0.1-1 - Initial release