Hello community, here is the log from the commit of package crash for openSUSE:Factory checked in at Sun Oct 2 09:53:29 CEST 2011.
-------- --- openSUSE:Factory/crash/crash.changes 2011-09-23 01:54:15.000000000 +0200 +++ /mounts/work_src_done/STABLE/crash/crash.changes 2011-09-22 23:45:30.000000000 +0200 @@ -1,0 +2,7 @@ +Thu Sep 22 19:02:09 UTC 2011 - [email protected] + +- Add the gcore extension as a subpackage for i386 and x86_64. + This extension can be used to create a core dump file of a + user-space task that was running in a kernel dumpfile. + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- gcore-2011-09-22.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ crash.spec ++++++ --- /var/tmp/diff_new_pack.z8wlvu/_old 2011-10-02 09:53:25.000000000 +0200 +++ /var/tmp/diff_new_pack.z8wlvu/_new 2011-10-02 09:53:25.000000000 +0200 @@ -20,6 +20,7 @@ %define crash_version 5.1.6 %define whitepaper_version 2003 %define scripts_version 2008-02-08 +%define gcore_version 2011-09-22 Name: crash %ifarch ppc @@ -27,6 +28,11 @@ %else %define build_sial 1 %endif +%ifarch %ix86 x86_64 +%define build_gcore 1 +%else +%define build_gcore 0 +%endif Url: http://people.redhat.com/anderson/ Summary: Crash utility for live systems; netdump, diskdump, LKCD or mcore dumpfiles Version: %{crash_version} @@ -37,6 +43,7 @@ Source2: crash_whitepaper-%{whitepaper_version}.tar.bz2 Source3: README.SUSE Source4: sial-scripts-%{scripts_version}.tar.bz2 +Source5: gcore-%{gcore_version}.tar.bz2 Source99: rpmlintrc BuildRoot: %{_tmppath}/%{name}-%{version}-build Patch1: %{name}-make-emacs-default.diff @@ -122,6 +129,26 @@ %endif +%if %build_gcore + +%package gcore +License: GPLv2+ +Requires: %{name} = %{version} +Summary: Gcore extension for crash +Group: Development/Tools/Debuggers + +%description gcore +Create a core dump file of a user-space task that was running in a +kernel dumpfile. + + + +Authors: +-------- + Daisuke Hatayama <[email protected]> + +%endif + %prep %setup -q -a 2 -a 4 %patch1 -p1 @@ -134,6 +161,10 @@ cd sial-scripts-%{scripts_version} %patch90 -p1 cd - +## gcore extension +cd extensions +tar xfvj %{S:5} +cd - cp %{S:3} . %build @@ -153,8 +184,11 @@ # permissions chmod 644 COPYING3 # extensions -%if %build_sial mkdir -p $RPM_BUILD_ROOT/%{_libdir}/crash/extensions +%if %build_gcore +install -m 0644 extensions/gcore.so $RPM_BUILD_ROOT/%{_libdir}/crash/extensions +%endif +%if %build_sial install -m 0644 extensions/sial.so $RPM_BUILD_ROOT/%{_libdir}/crash/extensions # scripts mkdir -p $RPM_BUILD_ROOT/%{_datadir}/sial/crash @@ -170,6 +204,8 @@ %{_bindir}/crash %{_mandir}/man8/crash.8* %doc README README.SUSE COPYING3 +%dir %{_libdir}/crash +%dir %{_libdir}/crash/extensions %files devel %defattr(-,root,root) @@ -178,6 +214,7 @@ %files doc %defattr(-,root,root) %doc crash_whitepaper/* + %if %build_sial %files sial @@ -186,8 +223,14 @@ %{_libdir}/crash/extensions/sial.so %{_datadir}/sial/crash %dir %{_datadir}/sial -%dir %{_libdir}/crash -%dir %{_libdir}/crash/extensions +%endif + +%if %build_gcore + +%files gcore +%defattr(-,root,root) +%{_libdir}/crash/extensions/gcore.so +%doc extensions/README.gcore %endif %changelog continue with "q"... Remember to have fun... -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
