really fix license install on older SLE
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/boost?expand=0&rev=214
This commit is contained in:
parent
094e36f522
commit
93789c7440
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user