From 2a62770a52fb57c6d54d0641b0abdb509e14c037 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Tue, 29 Apr 2008 15:43:28 +0000 Subject: [PATCH] preliminary: add crash-devel subpackage lines --- crash.spec | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/crash.spec b/crash.spec index 22585ae..1082237 100644 --- a/crash.spec +++ b/crash.spec @@ -22,6 +22,17 @@ investigate either live systems, kernel core dumps created from the netdump, diskdump and kdump packages from Red Hat Linux, the mcore kernel patch offered by Mission Critical Linux, or the LKCD kernel patch. +%package devel +Requires: %{name} = %{version} +Summary: crash utility for live systems; netdump, diskdump, kdump, LKCD or mcore dumpfiles +Group: Development/Debuggers + +%description devel +The core analysis suite is a self-contained tool that can be used to +investigate either live systems, kernel core dumps created from the +netdump, diskdump and kdump packages from Red Hat Linux, the mcore kernel patch +offered by Mission Critical Linux, or the LKCD kernel patch. + %prep %setup -n %{name}-%{version} %patch0 -p1 -b crash.patch @@ -35,6 +46,9 @@ mkdir -p %{buildroot}/usr/bin make DESTDIR=%{buildroot} install mkdir -p %{buildroot}%{_mandir}/man8 cp crash.8 %{buildroot}%{_mandir}/man8/crash.8 +mkdir -p %{buildroot}%{_includedir}/crash +chmod 0644 defs.h +cp defs.h %{buildroot}%{_includedir}/crash %clean rm -rf %{buildroot} @@ -45,6 +59,10 @@ rm -rf %{buildroot} %{_mandir}/man8/crash.8* %doc README +%files devel +%defattr(-,root,root) +%{_includedir}/* + %changelog * Wed Feb 20 2008 Dave Anderson - 4.0-6.0.5 - Second attempt at addressing the GCC 4.3 build, which failed due