[packages/lttng-modules] - update for builder/ftp infrastructure - package modules dir - rel 2
baggins
baggins at pld-linux.org
Tue Jul 23 14:52:24 CEST 2013
commit f9b1df23480657d785138c726efbdc39a19c03e6
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Tue Jul 23 14:51:58 2013 +0200
- update for builder/ftp infrastructure
- package modules dir
- rel 2
lttng-modules.spec | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
---
diff --git a/lttng-modules.spec b/lttng-modules.spec
index cdf1f06..fd62289 100644
--- a/lttng-modules.spec
+++ b/lttng-modules.spec
@@ -4,14 +4,16 @@
%bcond_without allprobes # all probes build (some probes, e.g. fs, need full kernel source)
%bcond_with verbose # verbose build (V=1)
#
+%define rel 2
+%define pname lttng-modules
Summary: LTTng 2.x kernel modules
Summary(pl.UTF-8): Moduły jądra LTTng 2.x
-Name: lttng-modules
+Name: %{pname}%{_alt_kernel}
Version: 2.2.1
-Release: 1
+Release: %{rel}
License: GPL v2
Group: Base/Kernel
-Source0: http://lttng.org/files/lttng-modules/%{name}-%{version}.tar.bz2
+Source0: http://lttng.org/files/lttng-modules/%{pname}-%{version}.tar.bz2
# Source0-md5: a659eac662d8a5e6084a4ec9897c8250
URL: http://lttng.org/
%if %{with dist_kernel}
@@ -32,7 +34,7 @@ Moduły jądra LTTng 2.x.
%package -n kernel%{_alt_kernel}-lttng
Summary: LTTng 2.x modules for Linux kernel
Summary(pl.UTF-8): Moduły LTTng 2.x dla jądra Linuksa
-Release: %{release}@%{_kernel_ver_str}
+Release: %{rel}@%{_kernel_ver_str}
Group: Base/Kernel
Requires(post,postun): /sbin/depmod
%if %{with dist_kernel}
@@ -47,7 +49,7 @@ LTTng 2.x modules for Linux kernel.
Moduły LTTng 2.x dla jądra Linuksa.
%prep
-%setup -q
+%setup -q -n %{pname}-%{version}
%build
%{__make} \
@@ -74,6 +76,7 @@ rm -rf $RPM_BUILD_ROOT
%files -n kernel%{_alt_kernel}-lttng
%defattr(644,root,root,755)
%doc ChangeLog LICENSE README TODO
+%dir /lib/modules/%{_kernel_ver}/kernel/lttng
/lib/modules/%{_kernel_ver}/kernel/lttng/lttng-ring-buffer-*.ko*
/lib/modules/%{_kernel_ver}/kernel/lttng/lttng-statedump.ko*
/lib/modules/%{_kernel_ver}/kernel/lttng/lttng-tracer.ko*
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/lttng-modules.git/commitdiff/f9b1df23480657d785138c726efbdc39a19c03e6
More information about the pld-cvs-commit
mailing list