summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/alsa-ucm-data-rpi3.spec10
1 files changed, 6 insertions, 4 deletions
diff --git a/packaging/alsa-ucm-data-rpi3.spec b/packaging/alsa-ucm-data-rpi3.spec
index afb0051..f67db3c 100644
--- a/packaging/alsa-ucm-data-rpi3.spec
+++ b/packaging/alsa-ucm-data-rpi3.spec
@@ -16,12 +16,14 @@ ALSA UCM data for rpi3
%install
rm -rf %{buildroot}
-mkdir -p %{buildroot}/usr/share/alsa/ucm
-cp -a bcm2835 %{buildroot}/usr/share/alsa/ucm
+mkdir -p %{buildroot}/hal/share/alsa/ucm
+mkdir -p %{buildroot}%{_hal_licensedir}/%{name}
+cp -a bcm2835 %{buildroot}%{_hal_datadir}/alsa/ucm
+cp LICENSE.Apache-2.0 %{buildroot}%{_hal_licensedir}/%{name}
%post
%files
%manifest alsa-ucm-conf-rpi3.manifest
-/usr/share/alsa/ucm/bcm2835/*
-%license LICENSE.Apache-2.0
+%{_hal_datadir}/alsa/ucm/bcm2835/*
+%{_hal_licensedir}/%{name}/LICENSE.Apache-2.0