Skip to content

Commit 33b0ce6

Browse files
committed
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 <[email protected]>
1 parent 77e6e72 commit 33b0ce6

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

sysstat-11.1.2.spec renamed to sysstat-11.1.3.spec

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Summary: SAR, SADF, MPSTAT, IOSTAT, NFSIOSTAT-SYSSTAT, CIFSIOSTAT and PIDSTAT for Linux
22
Name: sysstat
3-
Version: 11.1.2
3+
Version: 11.1.3
44
Release: 1
55
License: GPL
66
Group: Applications/System
@@ -32,7 +32,9 @@ The cifsiostat command reports I/O statistics for CIFS filesystems.
3232
%setup
3333

3434
%build
35+
# To include cron installation, add options --enable-install-cron and --enable-copy-only
3536
./configure --prefix=%{_prefix} \
37+
--disable-file-attr \
3638
sa_lib_dir=%{_libdir}/sa \
3739
--mandir=%{_mandir} \
3840
DESTDIR=$RPM_BUILD_ROOT
@@ -72,8 +74,8 @@ rm -rf $RPM_BUILD_ROOT
7274
%attr(755,root,root) /etc/rc.d/init.d/sysstat
7375
%attr(644,root,root) /etc/sysconfig/sysstat
7476
%attr(644,root,root) /etc/sysconfig/sysstat.ioconf
75-
%attr(755,root,root) /etc/rc2.d/S01sysstat
76-
%attr(755,root,root) /etc/rc3.d/S01sysstat
77-
%attr(755,root,root) /etc/rc5.d/S01sysstat
77+
/etc/rc2.d/S01sysstat
78+
/etc/rc3.d/S01sysstat
79+
/etc/rc5.d/S01sysstat
7880
%config(noreplace) %attr(0644,root,root) /etc/cron.d/sysstat
7981

0 commit comments

Comments
 (0)