- Updates to this file per crash merge review
- Update to upstream version 4.0-7.7. Full changelog viewable in: http://people.redhat.com/anderson/crash.changelog.html
This commit is contained in:
parent
53da8d7977
commit
ddbbf2c439
83706
crash.patch-4.0-7.7
Normal file
83706
crash.patch-4.0-7.7
Normal file
File diff suppressed because it is too large
Load Diff
35
crash.spec
35
crash.spec
@ -1,20 +1,20 @@
|
|||||||
#
|
#
|
||||||
# crash core analysis suite
|
# crash core analysis suite
|
||||||
#
|
#
|
||||||
Summary: crash utility for live systems; netdump, diskdump, kdump, LKCD or mcore dumpfiles
|
Summary: Kernel analysis utility for live systems, netdump, diskdump, kdump, LKCD or mcore dumpfiles
|
||||||
Name: crash
|
Name: crash
|
||||||
Version: 4.0
|
Version: 4.0
|
||||||
Release: 7
|
Release: 7.7.1%{?dist}
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
Group: Development/Debuggers
|
Group: Development/Debuggers
|
||||||
Source: %{name}-%{version}.tar.gz
|
Source: %{name}-%{version}.tar.gz
|
||||||
URL: http://people.redhat.com/anderson
|
URL: http://people.redhat.com/anderson
|
||||||
ExclusiveOS: Linux
|
ExclusiveOS: Linux
|
||||||
ExclusiveArch: i386 ia64 x86_64 ppc64 s390 s390x
|
ExclusiveArch: i386 ia64 x86_64 ppc64 s390 s390x
|
||||||
Buildroot: %{_tmppath}/%{name}-root
|
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot-%(%{__id_u} -n)
|
||||||
BuildRequires: ncurses-devel zlib-devel
|
BuildRequires: ncurses-devel zlib-devel
|
||||||
Requires: binutils
|
Requires: binutils
|
||||||
Patch0: crash.patch
|
Patch0: crash.patch-4.0-7.7
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The core analysis suite is a self-contained tool that can be used to
|
The core analysis suite is a self-contained tool that can be used to
|
||||||
@ -23,8 +23,8 @@ netdump, diskdump and kdump packages from Red Hat Linux, the mcore kernel patch
|
|||||||
offered by Mission Critical Linux, or the LKCD kernel patch.
|
offered by Mission Critical Linux, or the LKCD kernel patch.
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Requires: %{name} = %{version}
|
Requires: %{name} = %{version}, zlib-devel
|
||||||
Summary: crash utility for live systems; netdump, diskdump, kdump, LKCD or mcore dumpfiles
|
Summary: kernel crash analysis utility for live systems, netdump, diskdump, kdump, LKCD or mcore dumpfiles
|
||||||
Group: Development/Debuggers
|
Group: Development/Debuggers
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
@ -34,36 +34,41 @@ netdump, diskdump and kdump packages from Red Hat Linux, the mcore kernel patch
|
|||||||
offered by Mission Critical Linux, or the LKCD kernel patch.
|
offered by Mission Critical Linux, or the LKCD kernel patch.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -n %{name}-%{version}
|
%setup -n %{name}-%{version} -q
|
||||||
%patch0 -p1 -b crash.patch
|
%patch0 -p1 -b crash.patch-4.0-7.7
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make RPMPKG="%{version}-%{release}"
|
make RPMPKG="%{version}-%{release}"
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
mkdir -p %{buildroot}/usr/bin
|
mkdir -p %{buildroot}%{_bindir}
|
||||||
make DESTDIR=%{buildroot} install
|
make DESTDIR=%{buildroot} install
|
||||||
mkdir -p %{buildroot}%{_mandir}/man8
|
mkdir -p %{buildroot}%{_mandir}/man8
|
||||||
cp crash.8 %{buildroot}%{_mandir}/man8/crash.8
|
cp -p crash.8 %{buildroot}%{_mandir}/man8/crash.8
|
||||||
mkdir -p %{buildroot}%{_includedir}/crash
|
mkdir -p %{buildroot}%{_includedir}/crash
|
||||||
chmod 0644 defs.h
|
chmod 0644 defs.h
|
||||||
cp defs.h %{buildroot}%{_includedir}/crash
|
cp -p defs.h %{buildroot}%{_includedir}/crash
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root,-)
|
||||||
/usr/bin/crash
|
%{_bindir}/crash
|
||||||
%{_mandir}/man8/crash.8*
|
%{_mandir}/man8/crash.8*
|
||||||
%doc README
|
%doc README COPYING
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root,-)
|
||||||
%{_includedir}/*
|
%{_includedir}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Feb 19 2009 Dave Anderson <anderson@redhat.com> - 4.0-7.7.1
|
||||||
|
- Updates to this file per crash merge review
|
||||||
|
- Update to upstream version 4.0-7.7. Full changelog viewable in:
|
||||||
|
http://people.redhat.com/anderson/crash.changelog.html
|
||||||
|
|
||||||
* Tue Jul 15 2008 Tom "spot" Callaway <tcallawa@redhat.com> 4.0-7
|
* Tue Jul 15 2008 Tom "spot" Callaway <tcallawa@redhat.com> 4.0-7
|
||||||
- fix license tag
|
- fix license tag
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user