diff --git a/sysstat-7.0.3-debuginfo.patch b/sysstat-7.0.3-debuginfo.patch new file mode 100644 index 0000000..c8d364f --- /dev/null +++ b/sysstat-7.0.3-debuginfo.patch @@ -0,0 +1,11 @@ +--- sysstat-7.0.3/Makefile.pom 2006-10-22 18:27:26.000000000 +0200 ++++ sysstat-7.0.3/Makefile 2007-01-30 14:25:01.000000000 +0100 +@@ -38,7 +38,7 @@ + + # Compiler flags + CFLAGS = -Wall -Wstrict-prototypes -pipe -O2 -fno-strength-reduce +-LFLAGS = -s ++LFLAGS = + # SAS_DFLAGS may also contain SMP_RACE definition + SAS_DFLAGS += -DSA_DIR=\"$(SA_DIR)\" -DSADC_PATH=\"$(SADC_PATH)\" + diff --git a/sysstat.spec b/sysstat.spec index 7c2bde3..68f1f71 100644 --- a/sysstat.spec +++ b/sysstat.spec @@ -1,6 +1,6 @@ Name: sysstat Version: 7.0.3 -Release: 2%{?dist} +Release: 3%{?dist} Summary: The sar and iostat system monitoring commands. License: GPL Group: Applications/System @@ -13,6 +13,7 @@ Patch0: sysstat-4.0.1-config.patch Patch3: sysstat-5.0.5-statreset.patch Patch6: sysstat-5.0.5-append-msg.patch Patch9: sysstat-7.0.0-tmp.patch +Patch10: sysstat-7.0.3-debuginfo.patch BuildRoot: %{_tmppath}/%{name}-%{version}-root @@ -21,8 +22,6 @@ Prereq: sh-utils textutils grep fileutils /etc/cron.d BuildRequires: perl %{_includedir}/linux/if.h gettext Requires: %__cp %__mv %__chmod %__grep %__mkdir %__install %__id -%define debug_package %{nil} - %description This package provides the sar and iostat commands for Linux. Sar and iostat enable system monitoring of disk, network, and other IO @@ -34,6 +33,7 @@ activity. %patch3 -p1 -b .statreset %patch6 -p1 -b .append-msg %patch9 -p1 -b .tmp +%patch10 -p1 -b .db %build # FIXME: I need to fix the upstream Makefile to use LIBDIR et al. properly and @@ -113,8 +113,8 @@ rm -rf %{buildroot} /var/log/sa %changelog -* Tue Jan 30 2007 Ivana Varekova - 7.0.3-2 -- remove debuginfo +* Tue Jan 30 2007 Ivana Varekova - 7.0.3-3 +- remove -s flag * Mon Dec 18 2006 Ivana Varekova - 7.0.3-1 - update to 7.0.3