diff --git a/.crash-gcore-command.metadata b/.crash-gcore-command.metadata new file mode 100644 index 0000000..aead7d5 --- /dev/null +++ b/.crash-gcore-command.metadata @@ -0,0 +1 @@ +166e257f217384e35e9288f32735ea88831ec4b2 SOURCES/crash-gcore-command-1.2.1.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 0e7897f..0000000 --- a/README.md +++ /dev/null @@ -1,5 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 - -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/crash-gcore-command.spec b/SPECS/crash-gcore-command.spec new file mode 100644 index 0000000..bc93f64 --- /dev/null +++ b/SPECS/crash-gcore-command.spec @@ -0,0 +1,72 @@ +# +# crash core analysis suite +# +Summary: Gcore extension module for the crash utility +Name: crash-gcore-command +Version: 1.2.1 +Release: 1%{?dist} +License: GPLv2 +Group: Development/Debuggers +Source: %{name}-%{version}.tar.gz +URL: http://people.redhat.com/anderson/extensions/%{name}-%{version}.tar.gz +# Vendor: FUJITSU LIMITED +# Packager: HATAYAMA Daisuke +ExclusiveOS: Linux +ExclusiveArch: x86_64 %{ix86} arm +Buildroot: %{_tmppath}/%{name}-root +BuildRequires: crash-devel >= 5.1.5, zlib-devel lzo-devel snappy-devel +Requires: crash >= 5.1.5 + +%description +Command for creating a core dump file of a user-space task that was +running in a kernel dumpfile. + +%prep +%setup -q -n %{name}-%{version} + +%build +make -f gcore.mk + +%install +rm -Rf $RPM_BUILD_ROOT +mkdir -p %{buildroot}%{_libdir}/crash/extensions/ +cp %{_builddir}/%{name}-%{version}/gcore.so %{buildroot}%{_libdir}/crash/extensions/ + +%clean +rm -rf %{buildroot} +rm -Rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root) +%{_libdir}/crash/extensions/gcore.so +%doc COPYING + +%changelog + +* Tue Aug 20 2013 Dave Anderson - 1.2.1-1 + crash utility has added LZO and snappy compression in addition to zlib. + +* Thu May 23 2013 HATAYAMA Daisuke - 1.2.1-0 + Fixes for missing VDSO and vsyscall pages in core dump. + +* Wed Nov 21 2012 HATAYAMA Daisuke - 1.2-0 + Support recent kernels around 3.6. + +* Tue Jan 31 2012 Dave Anderson - 1.0-3 + Address Pkgwrangler/rpmlint issues. + Resolves: rbhz#692799 + +* Wed Jan 25 2012 Dave Anderson - 1.0-2 + Compile with RPM_OPT_FLAGS and fix warnings generated from using it. + Resolves: rbhz#692799 + +* Thu Apr 13 2011 HATAYAMA Daisuke - 1.0-1 +- Remove inclusion of kvmdump.h and unwind_x86_64.h due to non-supporting issue + on crash-devel package. Instead, use a new interface for them. +- Remove ppc64, ia64, s390 and s390x from ExclusiveArch, leave x86_64 + and %%{ix86} there. +- Add descriptions in BuildRequires and Requires about crash and crash-devel. + +* Wed Apr 6 2011 HATAYAMA Daisuke - 1.0-0 +- Initial crash-gcore-command package +