summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/boost.spec8
1 files changed, 8 insertions, 0 deletions
diff --git a/packaging/boost.spec b/packaging/boost.spec
index 84d6441488..0ff8bb9156 100644
--- a/packaging/boost.spec
+++ b/packaging/boost.spec
@@ -515,6 +515,10 @@ rm -f %{buildroot}%{_libdir}/*.a
#symlink dupes
%fdupes %buildroot
+# LICENSE
+mkdir -p %{buildroot}/usr/share/licenses
+cp -af LICENSE_1_0.txt %{buildroot}/usr/share/licenses/%{name}
+
%post -n libboost_atomic%{lib_appendix} -p /sbin/ldconfig
%post -n libboost_container%{lib_appendix} -p /sbin/ldconfig
%post -n libboost_context%{lib_appendix} -p /sbin/ldconfig
@@ -575,6 +579,10 @@ rm -f %{buildroot}%{_libdir}/*.a
%postun -n libboost_graph_parallel%{lib_appendix} -p /sbin/ldconfig
%endif
+%files
+%manifest %{name}.manifest
+%{_datadir}/licenses/%{name}
+
%files -n boost-license%{lib_appendix}
%manifest %{name}.manifest
%defattr(-, root, root, -)