This commit is contained in:
parent
49905303e7
commit
ccd5187a84
@ -406,8 +406,9 @@ find %{buildroot}%{rustlibdir} -maxdepth 1 -type f -name '*.so' -exec chmod -v +
|
|||||||
# extract bundled licenses for packaging - From fedora spec
|
# extract bundled licenses for packaging - From fedora spec
|
||||||
sed -e '/*\//q' src/libbacktrace/backtrace.h > src/libbacktrace/LICENSE-libbacktrace
|
sed -e '/*\//q' src/libbacktrace/backtrace.h > src/libbacktrace/LICENSE-libbacktrace
|
||||||
|
|
||||||
# Removes duiplicates and links them
|
# The html docs for x86 and x86_64 are the same in most places
|
||||||
%fdupes %{buildroot}%{_prefix}
|
%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
|
# Create the path for crate-devel packages
|
||||||
mkdir -p %{buildroot}%{_datadir}/cargo/registry
|
mkdir -p %{buildroot}%{_datadir}/cargo/registry
|
||||||
|
Loading…
Reference in New Issue
Block a user