From f11944d153037c88959f30596cf21e821b879291 Mon Sep 17 00:00:00 2001 From: DoHyun Pyun Date: Thu, 16 Mar 2017 18:20:19 +0900 Subject: [PATCH] Modify the install path for license file Change-Id: If4c97cfc206e5e018c3175521ed38aaab083bd07 Signed-off-by: DoHyun Pyun --- packaging/bluetooth-firmware-bcm.spec | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/packaging/bluetooth-firmware-bcm.spec b/packaging/bluetooth-firmware-bcm.spec index 6f06d31..b5b5543 100644 --- a/packaging/bluetooth-firmware-bcm.spec +++ b/packaging/bluetooth-firmware-bcm.spec @@ -45,14 +45,12 @@ rm -rf %{buildroot} %make_install -mkdir -p %{buildroot}/usr/share/license -cp LICENSE.APLv2 %{buildroot}/usr/share/license/%{name} -cat %{_builddir}/%{name}-%{version}/LICENSE.Broadcom >> %{buildroot}/usr/share/license/%{name} - install -D -m 0644 %SOURCE1 %{buildroot}%{_libdir}/systemd/system/bluetooth-hciattach@.service install -D -m 0644 %SOURCE2 %{buildroot}%{_libdir}/systemd/system/bluetooth-hci-device.service %files +%manifest %{name}.manifest +%license LICENSE.APLv2 LICENSE.Broadcom %defattr(-,root,root,-) #%{_bindir}/bcmtool_4330b1 %exclude %{_bindir}/bcmtool_4343w @@ -72,6 +70,8 @@ rm -rf %{_prefix}/etc/bluetooth/bt-dev-start.sh ln -s %{_prefix}/etc/bluetooth/bt-dev-start-exynos3250.sh %{_prefix}/etc/bluetooth/bt-dev-start.sh %files exynos3250 +%manifest %{name}.manifest +%license LICENSE.APLv2 LICENSE.Broadcom %defattr(-,root,root,-) %{_bindir}/bcmtool_4343w %{_bindir}/setbd @@ -80,16 +80,16 @@ ln -s %{_prefix}/etc/bluetooth/bt-dev-start-exynos3250.sh %{_prefix}/etc/bluetoo %attr(755,-,-) %{_prefix}/etc/bluetooth/bt-dev-end.sh %attr(755,-,-) %{_prefix}/etc/bluetooth/bt-dev-start-exynos3250.sh %attr(755,-,-) %{_prefix}/etc/bluetooth/bt-set-addr.sh -/usr/share/license/%{name} %{_libdir}/systemd/system/bluetooth-hciattach@.service %{_libdir}/systemd/system/bluetooth-hci-device.service -%manifest %{name}.manifest %post artik rm -rf %{_prefix}/etc/bluetooth/bt-dev-start.sh ln -s %{_prefix}/etc/bluetooth/bt-dev-start-artik.sh %{_prefix}/etc/bluetooth/bt-dev-start.sh %files artik +%manifest %{name}.manifest +%license LICENSE.APLv2 LICENSE.Broadcom %defattr(644,root,root,-) %{_bindir}/brcm_patchram_plus %{_bindir}/setbd @@ -98,7 +98,5 @@ ln -s %{_prefix}/etc/bluetooth/bt-dev-start-artik.sh %{_prefix}/etc/bluetooth/bt %attr(755,-,-) %{_prefix}/etc/bluetooth/bt-dev-end.sh %attr(755,-,-) %{_prefix}/etc/bluetooth/bt-dev-start-artik.sh %attr(755,-,-) %{_prefix}/etc/bluetooth/bt-set-addr.sh -/usr/share/license/%{name} %{_libdir}/systemd/system/bluetooth-hciattach@.service %{_libdir}/systemd/system/bluetooth-hci-device.service -%manifest %{name}.manifest -- 2.7.4