Accepting request 593583 from devel:tools:lttng

OBS-URL: https://build.opensuse.org/request/show/593583
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/babeltrace?expand=0&rev=3
This commit is contained in:
Dominique Leuenberger 2018-04-06 15:45:40 +00:00 committed by Git OBS Bridge
commit 655f07b71d
2 changed files with 8 additions and 0 deletions

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

View File

@ -85,12 +85,15 @@ make %{?_smp_mflags} V=1
%install
%make_install
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
%postun -p /sbin/ldconfig
%files
%license LICENSE mit-license.txt gpl-2.0.txt
%doc %{_docdir}/%{name}/
%{_bindir}/%{name}*
%{_libdir}/%{soname}*.so.%{sover}*