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:
Luke Jones 2017-03-14 19:23:20 +00:00 committed by Git OBS Bridge
parent 34a5c8cd5c
commit 9a075e3f38
2 changed files with 9 additions and 0 deletions

View File

@ -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

View File

@ -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