From f0a2e4f21eda67196dd4f38d5adb127a6b330e43 Mon Sep 17 00:00:00 2001 From: DoHyun Pyun Date: Mon, 27 Mar 2017 16:29:59 +0900 Subject: [PATCH] Modify the install path for license file Change-Id: Ie3aa04e224b8c16dee6dac3ce8639bd16c85ebae Signed-off-by: DoHyun Pyun --- bluetooth-firmware-sprd.manifest | 5 +++++ packaging/bluetooth-firmware-sprd.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 bluetooth-firmware-sprd.manifest diff --git a/bluetooth-firmware-sprd.manifest b/bluetooth-firmware-sprd.manifest new file mode 100644 index 0000000..75b0fa5 --- /dev/null +++ b/bluetooth-firmware-sprd.manifest @@ -0,0 +1,5 @@ + + + + + diff --git a/packaging/bluetooth-firmware-sprd.spec b/packaging/bluetooth-firmware-sprd.spec index f212fca..a4476fc 100644 --- a/packaging/bluetooth-firmware-sprd.spec +++ b/packaging/bluetooth-firmware-sprd.spec @@ -38,16 +38,16 @@ rm -rf %{buildroot} 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 -install -D -m 0644 LICENSE %{buildroot}%{_datadir}/license/bluetooth-firmware-sprd-TM1 %post TM1 rm -rf %{_prefix}/etc/bluetooth/bt-dev-start.sh ln -s %{_prefix}/etc/bluetooth/bt-dev-start-TM1.sh %{_prefix}/etc/bluetooth/bt-dev-start.sh %files TM1 +%manifest %{name}.manifest +%license LICENSE %defattr(-,root,root,-) %attr(755,-,-) %{_prefix}/etc/bluetooth/bt-dev-end.sh %attr(755,-,-) %{_prefix}/etc/bluetooth/bt-dev-start-TM1.sh -%{_datadir}/license/bluetooth-firmware-sprd-TM1 %{_libdir}/systemd/system/bluetooth-hciattach@.service %{_libdir}/systemd/system/bluetooth-hci-device.service -- 2.7.4