%global rootfs_commit d034c7869ea6046de97d7779156cc9f0ec35d087 %global rootfs_name caihong-linux-rootfs-%{rootfs_commit} Name: caihong-firmware Version: 0.1.0 Release: 104.caihong%{?dist} Summary: OnePlus Pad Pro Caihong firmware payloads License: Redistributable, no modification permitted URL: https://github.com/FairyBand/caihong-linux-rootfs Source0: https://github.com/FairyBand/caihong-linux-rootfs/archive/%{rootfs_commit}.tar.gz BuildArch: noarch %description Qualcomm ADSP/CDSP, GPU, Iris video codec, WLAN/Bluetooth, display, touch, camera-support and audio firmware for the OnePlus Pad Pro Caihong. Files are installed below the Fedora firmware `updates` search path so the package does not claim files owned by Fedora's linux-firmware package. %prep %setup -q -n %{rootfs_name} %build %install install -dpm 0755 %{buildroot}%{_prefix}/lib/firmware/updates cp -a --no-preserve=ownership firmware/. \ %{buildroot}%{_prefix}/lib/firmware/updates/ rm -f %{buildroot}%{_prefix}/lib/firmware/updates/SHA256SUMS \ %{buildroot}%{_prefix}/lib/firmware/updates/SOURCE.md rm -f %{buildroot}%{_prefix}/lib/firmware/updates/regulatory.db \ %{buildroot}%{_prefix}/lib/firmware/updates/regulatory.db.p7s %check test -s %{buildroot}%{_prefix}/lib/firmware/updates/qcom/sm8650/Oneplus/caihong/adsp.mbn echo 'f790c5fa532145006bdffd47af7ae66171c6929dcafcdf679002d72214529233 %{buildroot}%{_prefix}/lib/firmware/updates/qcom/sm8650/Oneplus/caihong/vpu33_4v.mbn' | sha256sum -c - test -s %{buildroot}%{_prefix}/lib/firmware/updates/ath12k/WCN7850/hw2.0/caihong/amss.bin %files %license LICENSE %{_prefix}/lib/firmware/updates/ath12k/ %{_prefix}/lib/firmware/updates/awinic/ %{_prefix}/lib/firmware/updates/novatek/ %{_prefix}/lib/firmware/updates/qca/ %{_prefix}/lib/firmware/updates/qcom/ %changelog * Sun Nov 01 2026 fairyband - 0.1.0-104.caihong - Track rootfs fedora at d034c7869ea6. * Thu Oct 22 2026 fairyband - 0.1.0-103.caihong - Track rootfs fedora at 9d2cec55bc66. * Sun Oct 18 2026 fairyband - 0.1.0-102.caihong - Build from the FairyBand fork, fedora branch, which now carries vpu33_4v.mbn. * Sun Oct 18 2026 fairyband - 0.1.0-101.caihong - Add the OEM-signed Iris video firmware vpu33_4v.mbn. * Fri Oct 16 2026 Caihong Maintainers - 0.1.0-100.caihong - Package Caihong firmware under the firmware updates search path.