From: Sebastien GODARD Date: Wed, 21 Jan 2015 10:02:46 +0000 (+0100) Subject: Update sysstat spec file X-Git-Tag: v11.1.3~11 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=33b0ce693d312e296bb93f2818d98ac05d2be8f8;p=sysstat Update sysstat spec file 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 --- diff --git a/sysstat-11.1.2.spec b/sysstat-11.1.3.spec similarity index 93% rename from sysstat-11.1.2.spec rename to sysstat-11.1.3.spec index 827d6c8..dacdd16 100644 --- a/sysstat-11.1.2.spec +++ b/sysstat-11.1.3.spec @@ -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