Luke Jones 2018-11-05 08:37:54 +00:00 committed by Git OBS Bridge
parent 49905303e7
commit ccd5187a84

View File

@ -406,8 +406,9 @@ find %{buildroot}%{rustlibdir} -maxdepth 1 -type f -name '*.so' -exec chmod -v +
# extract bundled licenses for packaging - From fedora spec
sed -e '/*\//q' src/libbacktrace/backtrace.h > src/libbacktrace/LICENSE-libbacktrace
# Removes duiplicates and links them
%fdupes %{buildroot}%{_prefix}
# The html docs for x86 and x86_64 are the same in most places
%fdupes %{buildroot}%{_docdir}/%{name}/html
# We don't want to run fdupes over much else (like src) or it may cause weirdness.
# Create the path for crate-devel packages
mkdir -p %{buildroot}%{_datadir}/cargo/registry