- update to 10.0.0
remove obsolete patches remove autoreconfiguration
This commit is contained in:
parent
8d3bbb404f
commit
20d0311be4
41
sysstat.spec
41
sysstat.spec
@ -1,28 +1,15 @@
|
|||||||
Name: sysstat
|
Name: sysstat
|
||||||
Version: 9.0.6.1
|
Version: 10.0.0
|
||||||
Release: 14%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: The sar and iostat system monitoring commands
|
Summary: The sar and iostat system monitoring commands
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
URL: http://perso.orange.fr/sebastien.godard/
|
URL: http://perso.orange.fr/sebastien.godard/
|
||||||
Source: http://perso.orange.fr/sebastien.godard/%{name}-%{version}.tar.bz2
|
Source: http://perso.orange.fr/sebastien.godard/%{name}-%{version}.tar.bz2
|
||||||
# fix initscript
|
|
||||||
Patch0: sysstat-9.0.4-init_script.patch
|
|
||||||
# fixes https://bugzilla.redhat.com/show_bug.cgi?id=545931
|
|
||||||
Patch1: sysstat-9.0.6-nfs.patch
|
|
||||||
# make init script lsb
|
|
||||||
Patch2: sysstat-9.0.4-init_script_lsb.patch
|
|
||||||
Patch3: sysstat-9.0.6.1-tickless.patch
|
|
||||||
Patch4: sysstat-9.0.6.1-sec.patch
|
Patch4: sysstat-9.0.6.1-sec.patch
|
||||||
Patch5: sysstat-9.0.6.1-mp_isag.patch
|
|
||||||
Patch6: sysstat-9.0.6.1-sar-tickless.patch
|
|
||||||
Patch7: sysstat-9.0.6.1-config.patch
|
|
||||||
Patch8: sysstat-9.0.6.1-mandir.patch
|
|
||||||
Patch9: sysstat-9.0.6.1-sadc_opt.patch
|
|
||||||
Patch10: sysstat-9.0.6.1-localtime.patch
|
|
||||||
# fixes #643380
|
# fixes #643380
|
||||||
Patch11: sysstat-9.0.4-cpu.patch
|
Patch11: sysstat-10.0.0-cpu.patch
|
||||||
|
Patch12: sysstat-10.0.0-makefile.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
Requires: /sbin/chkconfig
|
Requires: /sbin/chkconfig
|
||||||
@ -38,24 +25,13 @@ activity.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1 -b .ii
|
|
||||||
%patch1 -p1 -b .nfs
|
|
||||||
%patch2 -p1 -b .lsb
|
|
||||||
%patch3 -p1 -b .tl
|
|
||||||
%patch4 -p1 -b .sec
|
%patch4 -p1 -b .sec
|
||||||
%patch5 -p1 -b .isag
|
|
||||||
%patch6 -p1 -b .tl2
|
|
||||||
%patch7 -p1 -b .dmg
|
|
||||||
%patch8 -p1 -b .mandir
|
|
||||||
%patch9 -p1 -b .opt
|
|
||||||
%patch10 -p1 -b .loc
|
|
||||||
%patch11 -p1 -b .cpu
|
%patch11 -p1 -b .cpu
|
||||||
|
%patch12 -p1 -b .ls
|
||||||
iconv -f windows-1252 -t utf8 CREDITS > CREDITS.aux
|
iconv -f windows-1252 -t utf8 CREDITS > CREDITS.aux
|
||||||
mv CREDITS.aux CREDITS
|
mv CREDITS.aux CREDITS
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# neded because of patch7 and patch8
|
|
||||||
autoreconf -fi
|
|
||||||
./configure --prefix=%{_prefix} --disable-man-group sa_lib_dir=%{_libdir}/sa --libdir=%{_libdir}
|
./configure --prefix=%{_prefix} --disable-man-group sa_lib_dir=%{_libdir}/sa --libdir=%{_libdir}
|
||||||
CFLAGS="$RPM_OPT_FLAGS -DSADC_PATH=\\\"%{_libdir}/sa/sadc\\\""
|
CFLAGS="$RPM_OPT_FLAGS -DSADC_PATH=\\\"%{_libdir}/sa/sadc\\\""
|
||||||
make CFLAGS="$CFLAGS" LFLAGS=""
|
make CFLAGS="$CFLAGS" LFLAGS=""
|
||||||
@ -65,7 +41,7 @@ rm -rf %{buildroot}
|
|||||||
make install
|
make install
|
||||||
|
|
||||||
mkdir -p %{buildroot}/%{_sysconfdir}/cron.d
|
mkdir -p %{buildroot}/%{_sysconfdir}/cron.d
|
||||||
install -m 0644 sysstat.crond %{buildroot}/%{_sysconfdir}/cron.d/sysstat
|
install -m 0644 cron/sysstat.crond %{buildroot}/%{_sysconfdir}/cron.d/sysstat
|
||||||
mkdir -p %{buildroot}%{_initrddir}
|
mkdir -p %{buildroot}%{_initrddir}
|
||||||
install -m 0755 sysstat %{buildroot}%{_initrddir}/
|
install -m 0755 sysstat %{buildroot}%{_initrddir}/
|
||||||
|
|
||||||
@ -100,6 +76,11 @@ rm -rf %{buildroot}
|
|||||||
%{_localstatedir}/log/sa
|
%{_localstatedir}/log/sa
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Apr 4 2011 Ivana Hutarova Varekova <varekova@redhat.com> - 10.0.0-1
|
||||||
|
- update to 10.0.0
|
||||||
|
remove obsolete patches
|
||||||
|
remove autoreconfiguration
|
||||||
|
|
||||||
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9.0.6.1-14
|
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9.0.6.1-14
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user