diff --git a/boost.spec b/boost.spec index 14a5973..6d6b308 100644 --- a/boost.spec +++ b/boost.spec @@ -1427,6 +1427,9 @@ rm %{buildroot}%{_libdir}/libboost_exception.so.%{version} %fdupes %{buildroot}%{_includedir}/boost mkdir -p %{buildroot}%{my_docdir} +%if 0%{?sle_version} >= 120000 && 0%{?sle_version} <= 120200 && !0%{?is_opensuse} +mkdir -p %{buildroot}%{_defaultlicensedir} +%endif %else # ! build_base rm -r %{buildroot}%{_includedir}/boost rm %{buildroot}%{_libdir}/libboost_serialization* @@ -1952,7 +1955,7 @@ rmdir --ignore-fail-on-non-empty %{buildroot}%{_libdir} %defattr(-, root, root, -) %license LICENSE_1_0.txt %if 0%{?sle_version} >= 120000 && 0%{?sle_version} <= 120200 && !0%{?is_opensuse} -%dir /usr/share/licenses +%attr(755,root,root) %dir %{_defaultlicensedir} %endif %endif