Accepting request 593295 from home:kukuk:branches:devel:tools:lttng

- Use %license instead of %doc [bsc#1082318]

OBS-URL: https://build.opensuse.org/request/show/593295
OBS-URL: https://build.opensuse.org/package/show/devel:tools:lttng/babeltrace?expand=0&rev=15
This commit is contained in:
Alexei Sorokin 2018-04-04 15:41:16 +00:00 committed by Git OBS Bridge
parent 097971dfd7
commit 3e2017f7c5
3 changed files with 8 additions and 3 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9643039923a0abc75a25b3d594cee0017423b57f10d2b625e96ed1e8d4891fc1
size 1006526

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Apr 3 16:07:06 CEST 2018 - kukuk@suse.de
- Use %license instead of %doc [bsc#1082318]
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Mar 15 16:19:49 UTC 2018 - sor.alexei@meowr.ru Thu Mar 15 16:19:49 UTC 2018 - sor.alexei@meowr.ru

View File

@ -85,12 +85,15 @@ make %{?_smp_mflags} V=1
%install %install
%make_install %make_install
find %{buildroot} -type f -name "*.la" -delete -print find %{buildroot} -type f -name "*.la" -delete -print
# remove licenses from doc
rm -f %{buildroot}%{_docdir}/%{name}/{LICENSE,mit-license.txt,gpl-2.0.txt}
%post -p /sbin/ldconfig %post -p /sbin/ldconfig
%postun -p /sbin/ldconfig %postun -p /sbin/ldconfig
%files %files
%license LICENSE mit-license.txt gpl-2.0.txt
%doc %{_docdir}/%{name}/ %doc %{_docdir}/%{name}/
%{_bindir}/%{name}* %{_bindir}/%{name}*
%{_libdir}/%{soname}*.so.%{sover}* %{_libdir}/%{soname}*.so.%{sover}*