summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2017-03-14 11:55:06 (GMT)
committerDonghun Kwak <dh0128.kwak@samsung.com>2017-03-14 11:57:00 (GMT)
commit940b22edabe373258affd345af5213fdce965375 (patch)
tree1675e74ea2d43e672efc42ee758dc212f695e4f7
parent49f495ff20f3c7e1a0af68be6c147a0e1b907740 (diff)
downloadboost-940b22edabe373258affd345af5213fdce965375.zip
boost-940b22edabe373258affd345af5213fdce965375.tar.gz
boost-940b22edabe373258affd345af5213fdce965375.tar.bz2
Fix license file installed pathrefs/changes/08/118908/1
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
-rw-r--r--packaging/boost.spec10
1 files changed, 4 insertions, 6 deletions
diff --git a/packaging/boost.spec b/packaging/boost.spec
index 86b858f..3e0a9c5 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