]> granicus.if.org Git - sysstat/commitdiff
Update sysstat spec file
authorSebastien GODARD <sysstat@users.noreply.github.com>
Wed, 21 Jan 2015 10:02:46 +0000 (11:02 +0100)
committerSebastien GODARD <sysstat@users.noreply.github.com>
Wed, 21 Jan 2015 10:02:46 +0000 (11:02 +0100)
RPM spec file for sysstat package has been updated:
1) Now use --disable-file-attr option with configure to allow a non
privileged user to build the package,
2) Remove %attr directive which cannot be applied on symlinks listed in
%files section.

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
sysstat-11.1.3.spec [moved from sysstat-11.1.2.spec with 93% similarity]

similarity index 93%
rename from sysstat-11.1.2.spec
rename to sysstat-11.1.3.spec
index 827d6c85fe38d1485a84db219c2406de39b8ac46..dacdd1668e1a360ec3b0eb933c5236970c13c028 100644 (file)
@@ -1,6 +1,6 @@
 Summary:       SAR, SADF, MPSTAT, IOSTAT, NFSIOSTAT-SYSSTAT, CIFSIOSTAT and PIDSTAT for Linux
 Name:          sysstat
-Version:       11.1.2
+Version:       11.1.3
 Release:       1
 License:       GPL
 Group:                 Applications/System
@@ -32,7 +32,9 @@ The cifsiostat command reports I/O statistics for CIFS filesystems.
 %setup
 
 %build
+# To include cron installation, add options --enable-install-cron and --enable-copy-only
 ./configure --prefix=%{_prefix} \
+       --disable-file-attr \
        sa_lib_dir=%{_libdir}/sa \
        --mandir=%{_mandir} \
        DESTDIR=$RPM_BUILD_ROOT
@@ -72,8 +74,8 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) /etc/rc.d/init.d/sysstat
 %attr(644,root,root) /etc/sysconfig/sysstat
 %attr(644,root,root) /etc/sysconfig/sysstat.ioconf
-%attr(755,root,root) /etc/rc2.d/S01sysstat
-%attr(755,root,root) /etc/rc3.d/S01sysstat
-%attr(755,root,root) /etc/rc5.d/S01sysstat
+/etc/rc2.d/S01sysstat
+/etc/rc3.d/S01sysstat
+/etc/rc5.d/S01sysstat
 %config(noreplace) %attr(0644,root,root) /etc/cron.d/sysstat