Version: 0.2.0
Release: 1
Group: Hardware Support/Handset
-License: Apache-2.0
+License: Apache-2.0 and Broadcom
# NOTE: Source name does not match package name. This should be
# resolved in the future, by I don't have that power. - Ryan Ware
Source0: %{name}-%{version}.tar.gz
%post rpi3
rm -rf %{_prefix}/etc/bluetooth/bt-dev-start.sh
+rm -rf %{_prefix}/etc/bluetooth/bt-dev-end.sh
ln -s %{_prefix}/etc/bluetooth/bt-dev-start-rpi3.sh %{_prefix}/etc/bluetooth/bt-dev-start.sh
+ln -s %{_prefix}/etc/bluetooth/bt-dev-end-rpi3.sh %{_prefix}/etc/bluetooth/bt-dev-end.sh
%files rpi3
%manifest %{name}.manifest
%license LICENSE.APLv2 LICENSE.Broadcom
%defattr(-,root,root,-)
-%{_prefix}/etc/bluetooth/BCM43430A1.hcd
-%attr(755,-,-) %{_prefix}/etc/bluetooth/bt-dev-end.sh
+/lib/firmware/brcm/BCM43430A1.hcd
+/lib/firmware/brcm/BCM4345C0.hcd
+%attr(755,-,-) %{_prefix}/etc/bluetooth/bt-dev-end-rpi3.sh
%attr(755,-,-) %{_prefix}/etc/bluetooth/bt-dev-start-rpi3.sh
%manifest %{name}.manifest