Hello community, here is the log from the commit of package crash checked in at Fri Jun 2 01:39:07 CEST 2006. -------- --- crash/crash.changes 2006-04-18 03:32:00.000000000 +0200 +++ crash/crash.changes 2006-06-01 18:31:51.000000000 +0200 @@ -1,0 +2,7 @@ +Thu Jun 1 18:29:55 CEST 2006 - tiwai@suse.de + +- Add a warning message when /proc/version doesn't match + (#169708) +- Don't remove build-root at install + +------------------------------------------------------------------- New: ---- crash-version-check.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ crash.spec ++++++ --- /var/tmp/diff_new_pack.DhucNQ/_old 2006-06-02 01:36:18.000000000 +0200 +++ /var/tmp/diff_new_pack.DhucNQ/_new 2006-06-02 01:36:18.000000000 +0200 @@ -14,7 +14,7 @@ URL: http://people.redhat.com/anderson/ Summary: crash utility for live systems; netdump, diskdump, LKCD or mcore dumpfiles Version: 4.0 -Release: 21 +Release: 25 License: LGPL Group: Development/Tools/Debuggers Source: %{name}-%{version}-2.18.tar.gz @@ -25,6 +25,7 @@ Patch5: crash-19-21.diff Patch6: crash-21-22.diff Patch7: crash-22-23.diff +Patch8: crash-version-check.diff %description The core analysis suite is a self-contained tool that can be used to @@ -46,13 +47,14 @@ %patch7 -p1 %patch0 -p1 %patch3 -p1 +%patch8 -p1 %build -make CFLAGS="$RPM_TOP_FLAGS" RPMPKG="%{version}-%{release}" %{?jobs:-j%jobs} +# make CFLAGS="$RPM_OPT_FLAGS" RPMPKG="%{version}-%{release}" %{?jobs:-j%jobs} +make RPMPKG="%{version}-%{release}" %{?jobs:-j%jobs} %install -rm -rf %{buildroot} -mkdir -p %{buildroot}/usr/bin +mkdir -p %{buildroot}%{_bindir} make DESTDIR=%{buildroot} install mkdir -p %{buildroot}%{_mandir}/man8 cp crash.8 %{buildroot}%{_mandir}/man8/crash.8 @@ -62,11 +64,15 @@ %files %defattr(-,root,root) -/usr/bin/crash +%{_bindir}/crash %{_mandir}/man8/crash.8* %doc README %changelog -n crash +* Thu Jun 01 2006 - tiwai@suse.de +- Add a warning message when /proc/version doesn't match + (#169708) +- Don't remove build-root at install * Tue Apr 18 2006 - mason@suse.de - Update to crash 4.0-2.23 Fix kmem -s (bug 159651) ++++++ crash-version-check.diff ++++++ diff -ruN crash-4.0-2.18/filesys.c crash-4.0-2.24/filesys.c --- crash-4.0-2.18/filesys.c 2006-06-01 17:56:37.000000000 +0200 +++ crash-4.0-2.24/filesys.c 2006-05-01 17:49:55.000000000 +0200 @@ -261,7 +261,11 @@ return; } - if (find_booted_system_map()) + error(WARNING, "%s%sand /proc/version do not match!\n\n", + pc->namelist, + strlen(pc->namelist) > 39 ? "\n " : " "); + + if (find_booted_system_map()) pc->flags |= SYSMAP; } ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit-unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit-help@opensuse.org
participants (1)
-
root@suse.de