From 940b22edabe373258affd345af5213fdce965375 Mon Sep 17 00:00:00 2001 From: DongHun Kwak Date: Tue, 14 Mar 2017 20:55:06 +0900 Subject: Fix license file installed path boost license file installed under /usr/share/doc. change installed file path to /usr/share/licenses/boost-license [Model] ALL [BinType] AP [Customer] OPEN [Issue#] N/A [Request] N/A [Occurrence Version] N/A [Problem] [Cause & Measure] [Checking Method] N/A [Team] Open Source Management and Setting Part [Developer] dh0128.kwak [Solution company] Samsung [Change Type] N/A Change-Id: I3a5a3b5b633a94f50e8205b607194e99cc9f529d --- packaging/boost.spec | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/packaging/boost.spec b/packaging/boost.spec index 86b858f84d..3e0a9c59c2 100644 --- a/packaging/boost.spec +++ b/packaging/boost.spec @@ -539,8 +539,8 @@ rm -f %{buildroot}%{_libdir}/*.a %fdupes %buildroot # LICENSE -mkdir -p %{buildroot}/usr/share/licenses -cp -af LICENSE_1_0.txt %{buildroot}/usr/share/licenses/%{name} +mkdir -p %{buildroot}/usr/share/license +cp -af LICENSE_1_0.txt %{buildroot}/usr/share/license/%{name} %post -n boost-atomic -p /sbin/ldconfig %post -n boost-container -p /sbin/ldconfig @@ -606,14 +606,12 @@ cp -af LICENSE_1_0.txt %{buildroot}/usr/share/licenses/%{name} %files %manifest %{name}.manifest -%{_datadir}/licenses/%{name} +%{_datadir}/license/%{name} %files -n boost-license %manifest %{name}.manifest %defattr(-, root, root, -) -%dir %{_docdir} -#%%doc %%{_docdir}/NEWS -%doc %{_docdir}/LICENSE_1_0.txt +%license LICENSE_1_0.txt %files -n boost-atomic %manifest %{name}.manifest -- cgit v1.2.3