Accepting request 479057 from home:dimstar:Factory
- Remove duplicate license files from _docdir: rpm 4.13 no longer implicitly packages those files and we catch them using %license, OBS-URL: https://build.opensuse.org/request/show/479057 OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust?expand=0&rev=78
This commit is contained in:
committed by
Git OBS Bridge
parent
34a5c8cd5c
commit
9a075e3f38
@@ -169,6 +169,9 @@ cp src/rt/hoedown/LICENSE src/rt/hoedown/LICENSE-hoedown
|
||||
sed -e '/*\//q' src/libbacktrace/backtrace.h \
|
||||
>src/libbacktrace/LICENSE-libbacktrace
|
||||
|
||||
# Remvove the license files from _docdir: make install put duplicates there
|
||||
rm %{buildroot}%{_defaultdocdir}/%{name}/{COPYRIGHT,LICENSE-APACHE,LICENSE-MIT}
|
||||
|
||||
%if 0%{?suse_version}
|
||||
%fdupes %{buildroot}%{_prefix}
|
||||
%endif
|
||||
|
Reference in New Issue
Block a user