Accepting request 532484 from home:jengelh:branches:devel:tools:lttng

- Rectify RPM groups. Remove redundant %clean section.
  Replace old RPM macros.

OBS-URL: https://build.opensuse.org/request/show/532484
OBS-URL: https://build.opensuse.org/package/show/devel:tools:lttng/lttng-tools?expand=0&rev=16
This commit is contained in:
Alexei Sorokin
2017-10-08 10:51:21 +00:00
committed by Git OBS Bridge
parent 52ac4b9364
commit 64f4b1df22
2 changed files with 12 additions and 8 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Oct 7 23:43:33 UTC 2017 - jengelh@inai.de
- Rectify RPM groups. Remove redundant %clean section.
Replace old RPM macros.
-------------------------------------------------------------------
Fri Oct 6 16:00:21 UTC 2017 - tonyj@suse.com

View File

@@ -26,7 +26,7 @@ Release: 0
Source: http://lttng.org/files/%{name}/%{name}-%{version}.tar.bz2
Summary: Linux Trace Toolkit Next Generation 2.0 userspace tools
License: GPL-2.0 and LGPL-2.1
Group: Development/Languages/C and C++
Group: Development/Tools/Other
Url: http://lttng.org/lttng2.0
BuildRequires: liburcu-devel
BuildRequires: libuuid-devel
@@ -68,13 +68,10 @@ from userspace.
make
%install
make DESTDIR=%buildroot install
%make_install
rm -f %buildroot%{_libdir}/*.la
rm -f %buildroot%{_libdir}/*.a
%clean
rm -rf %buildroot
%post -n %{ctllib} -p /sbin/ldconfig
%postun -n %{ctllib} -p /sbin/ldconfig
@@ -95,15 +92,16 @@ rm -rf %buildroot
%{_docdir}/%{name}/LICENSE
%{_docdir}/%{name}/README.md
%{_docdir}/%{name}/*.txt
%dir %{_prefix}/share/xml/lttng
%{_prefix}/share/xml/lttng/session.xsd
%dir %{_datadir}/xml/lttng
%{_datadir}/xml/lttng/session.xsd
%files -n %{ctllib}
%defattr(-,root,root)
%{_libdir}/*.so.*
%files -n %{name}-devel
%defattr(-,root,root)
%{_prefix}/include/lttng/*
%{_includedir}/lttng/*
%{_libdir}/*.so
%{_libdir}/pkgconfig/lttng-ctl.pc