remoce useless patches
This commit is contained in:
parent
99ee4906f9
commit
4a24341c85
@ -1,13 +0,0 @@
|
||||
--- sysstat-5.0.5/sadc.c.append-msg 2004-09-29 13:15:48.000000000 -0400
|
||||
+++ sysstat-5.0.5/sadc.c 2004-09-29 13:21:27.000000000 -0400
|
||||
@@ -747,7 +747,9 @@
|
||||
create_sa_file(ofd, ofile, file_stats_size, flags);
|
||||
return;
|
||||
}
|
||||
- fprintf(stderr, _("Cannot append data to that file\n"));
|
||||
+ fprintf(stderr, _("Cannot append data to %s,"
|
||||
+ " cpu count changed from %d to %d\n"),
|
||||
+ ofile, file_hdr.sa_proc, cpu_nr);
|
||||
exit(1);
|
||||
}
|
||||
|
@ -1,15 +0,0 @@
|
||||
diff -up sysstat-8.0.1/sa2.in.pom sysstat-8.0.1/sa2.in
|
||||
--- sysstat-8.0.1/sa2.in.pom 2007-09-08 14:18:25.000000000 +0200
|
||||
+++ sysstat-8.0.1/sa2.in 2007-10-22 18:50:25.000000000 +0200
|
||||
@@ -48,9 +48,9 @@ DFILE=${CURRENTDIR}/${CURRENTFILE}
|
||||
cd ${ENDIR}
|
||||
[ -L ${RPT} ] && rm -f ${RPT}
|
||||
${ENDIR}/sar $* -f ${DFILE} > ${RPT}
|
||||
-find ${DDIR} \( -name 'sar??' -o -name 'sa??' -o -name 'sar??.gz' -o -name 'sa??.gz' \) \
|
||||
+find ${DDIR}/ \( -name 'sar??' -o -name 'sa??' -o -name 'sar??.gz' -o -name 'sa??.gz' \) \
|
||||
-mtime +"${HISTORY}" -exec rm -f {} \;
|
||||
-find ${DDIR} \( -name 'sar??' -o -name 'sa??' \) -type f -mtime +"${COMPRESSAFTER}" \
|
||||
+find ${DDIR}/ \( -name 'sar??' -o -name 'sa??' \) -type f -mtime +"${COMPRESSAFTER}" \
|
||||
-exec gzip -9 {} \; > /dev/null 2>&1
|
||||
# Remove broken links
|
||||
for f in `find ${DDIR} \( -name 'sar??' -o -name 'sa??' \) -type l`; do
|
@ -1,6 +1,6 @@
|
||||
Name: sysstat
|
||||
Version: 8.0.1
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: The sar and iostat system monitoring commands
|
||||
License: GPL
|
||||
Group: Applications/System
|
||||
@ -9,8 +9,6 @@ Source: http://perso.orange.fr/sebastien.godard/%{name}-%{version}.tar.bz2
|
||||
Source1: sysstat.crond
|
||||
Source3: sysstat.sysconfig
|
||||
Patch3: sysstat-7.0.4-statreset.patch
|
||||
Patch6: sysstat-5.0.5-append-msg.patch
|
||||
Patch11: sysstat-7.0.4-links.patch
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
@ -27,8 +25,6 @@ activity.
|
||||
%prep
|
||||
%setup -q
|
||||
%patch3 -p1 -b .statreset
|
||||
%patch6 -p1 -b .append-msg
|
||||
%patch11 -p1 -b .link
|
||||
|
||||
%build
|
||||
# FIXME: I need to fix the upstream Makefile to use LIBDIR et al. properly and
|
||||
@ -91,6 +87,9 @@ rm -rf %{buildroot}
|
||||
/var/log/sa
|
||||
|
||||
%changelog
|
||||
* Wed Oct 24 2007 Ivana Varekova <varekova@redhat.com> - 8.0.1-2
|
||||
- remove useless patches
|
||||
|
||||
* Mon Oct 22 2007 Ivana Varekova <varekova@redhat.com> - 8.0.1-1
|
||||
- update to 8.0.1
|
||||
- remove useless patches
|
||||
|
Loading…
Reference in New Issue
Block a user