diff --git a/rust.changes b/rust.changes index 7251420..b6465bb 100644 --- a/rust.changes +++ b/rust.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Mar 13 10:14:21 UTC 2017 - dimstar@opensuse.org + +- Remove duplicate license files from _docdir: rpm 4.13 no longer + implicitly packages those files and we catch them using %license, + ------------------------------------------------------------------- Thu Feb 23 07:36:17 UTC 2017 - bg@suse.com diff --git a/rust.spec b/rust.spec index 74f56f4..3614014 100644 --- a/rust.spec +++ b/rust.spec @@ -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