Change-Id: I15cf6503c6bada9d4ba3bf849a08e3829789fb02
Reviewed-on: http://photon-jenkins.eng.vmware.com/810
Tested-by: jenkins-photon <wangnan2015@hotmail.com>
Reviewed-by: suezzelur <anishs@vmware.com>
| ... | ... |
@@ -1,7 +1,7 @@ |
| 1 | 1 |
Summary: The Sysstat package contains utilities to monitor system performance and usage activity |
| 2 | 2 |
Name: sysstat |
| 3 | 3 |
Version: 11.2.0 |
| 4 |
-Release: 1%{?dist}
|
|
| 4 |
+Release: 2%{?dist}
|
|
| 5 | 5 |
License: GPLv2 |
| 6 | 6 |
URL: http://sebastien.godard.pagesperso-orange.fr/ |
| 7 | 7 |
Group: Development/Debuggers |
| ... | ... |
@@ -9,7 +9,6 @@ Vendor: VMware, Inc. |
| 9 | 9 |
Distribution: Photon |
| 10 | 10 |
Source0: http://perso.wanadoo.fr/sebastien.godard/sysstat-11.2.0.tar.xz |
| 11 | 11 |
%define sha1 sysstat=61b70892d864f8bac5714e2fe0a006f0fda6efba |
| 12 |
- |
|
| 13 | 12 |
%description |
| 14 | 13 |
The Sysstat package contains utilities to monitor system performance and usage activity. Sysstat contains the sar utility, common to many commercial Unixes, and tools you can schedule via cron to collect and historize performance and activity data. |
| 15 | 14 |
|
| ... | ... |
@@ -18,23 +17,31 @@ Source0: http://perso.wanadoo.fr/sebastien.godard/sysstat-11.2.0.tar.xz |
| 18 | 18 |
%build |
| 19 | 19 |
|
| 20 | 20 |
./configure --prefix=%{_prefix} \
|
| 21 |
- --disable-file-attr && |
|
| 21 |
+ --disable-file-attr \ |
|
| 22 |
+ sa_lib_dir=%{_libdir}/sa \
|
|
| 23 |
+ --mandir=%{_mandir}
|
|
| 22 | 24 |
make %{?_smp_mflags}
|
| 23 | 25 |
%install |
| 24 | 26 |
make install |
| 25 |
-mv %{buildroot}/usr/lib64 %{buildroot}/%{_libdir}
|
|
| 26 |
- |
|
| 27 |
+mkdir -p %{buildroot}/usr/lib/systemd/system/
|
|
| 28 |
+install -D -m 0644 %{_builddir}/%{name}-%{version}/sysstat.service %{buildroot}/usr/lib/systemd/system/
|
|
| 27 | 29 |
%clean |
| 28 | 30 |
rm -rf %{buildroot}/*
|
| 29 | 31 |
|
| 30 | 32 |
%files |
| 31 | 33 |
%defattr(-,root,root) |
| 32 |
-%{_sysconfdir}
|
|
| 33 |
-%{_bindir}
|
|
| 34 |
-%{_datadir}
|
|
| 35 |
-%{_libdir}
|
|
| 34 |
+%{_sysconfdir}/*
|
|
| 35 |
+%{_bindir}/*
|
|
| 36 |
+%{_libdir}/sa/*
|
|
| 37 |
+%{_datadir}/doc/%{name}-%{version}/*
|
|
| 38 |
+%{_datadir}/locale/*/LC_MESSAGES/sysstat.mo
|
|
| 39 |
+%{_mandir}/man*/*
|
|
| 40 |
+%{_libdir}/systemd/system/*
|
|
| 41 |
+ |
|
| 36 | 42 |
|
| 37 | 43 |
%changelog |
| 44 |
+* Wed May 4 2016 Divya Thaluru <dthaluru@vmware.com> 11.2.0-2 |
|
| 45 |
+- Adding systemd service file |
|
| 38 | 46 |
* Wed Jan 20 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 11.2.0-1 |
| 39 | 47 |
- Update to 11.2.0-1. |
| 40 | 48 |
* Mon Nov 30 2015 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 11.1.8-1 |