Luke Jones 2017-02-15 02:15:50 +00:00 committed by Git OBS Bridge
parent f9127d44bc
commit 809d338045

View File

@ -76,7 +76,7 @@ BuildRequires: rustc-bootstrap >= %{prev_version}
%else
# There are no successful builds for less than TW or Leap 42.2, so bootstrap
# until such time that there is.
%if %{with bootstrap} || (0%{?suse_version} < 1330 && 0%{?sle_version} <= 120300)
%if %{with bootstrap} || (0%{?suse_version} < 1330 && 0%{?sle_version} <= 120100)
BuildRequires: cargo-bootstrap
BuildRequires: rustc-bootstrap >= %{prev_version}
%else
@ -180,10 +180,6 @@ sed -e '/*\//q' src/libbacktrace/backtrace.h \
%files
%defattr(-,root,root,-)
# The SLES-12 macros don't appear to take ownership of this directory?
%if (0%{?suse_version} < 1330 && 0%{?sle_version} <= 120300)
%dir %{_datadir}/licenses
%endif
%license COPYRIGHT LICENSE-APACHE LICENSE-MIT
%license src/libbacktrace/LICENSE-libbacktrace
%license src/rt/hoedown/LICENSE-hoedown
@ -214,10 +210,6 @@ sed -e '/*\//q' src/libbacktrace/backtrace.h \
%files doc
%defattr(-,root,root)
# The SLES-12 macros don't appear to take ownership of this directory?
%if (0%{?suse_version} < 1330 && 0%{?sle_version} <= 120300)
%dir %{_datadir}/licenses
%endif
%license %{_docdir}/%{name}/html/FiraSans-LICENSE.txt
%license %{_docdir}/%{name}/html/Heuristica-LICENSE.txt
%license %{_docdir}/%{name}/html/LICENSE-APACHE.txt