diff options
| author | Remi Collet <fedora@famillecollet.com> | 2015-08-11 14:52:17 +0200 | 
|---|---|---|
| committer | Remi Collet <fedora@famillecollet.com> | 2015-08-11 14:52:17 +0200 | 
| commit | 12c8851b25ae35f343d0763b7dc91525ed1114cd (patch) | |
| tree | e5ddf5d1488bcea271e86012c5b65e160b77bc89 | |
| parent | 5227c3b571fe6c3cc4e49959a4a6af569669efc1 (diff) | |
roundcubemail: Remove "su" option .. (EL <= 6)
| -rw-r--r-- | roundcubemail.spec | 11 | 
1 files changed, 10 insertions, 1 deletions
diff --git a/roundcubemail.spec b/roundcubemail.spec index 83ddb1a..3676418 100644 --- a/roundcubemail.spec +++ b/roundcubemail.spec @@ -19,7 +19,7 @@  %global _logdir /var/log    Name: roundcubemail  Version:  1.1.2 -Release:  1%{?dist} +Release:  2%{?dist}  Summary: Round Cube Webmail is a browser-based multilingual IMAP client  Group: Applications/System @@ -205,6 +205,11 @@ mkdir -p %{buildroot}%{_sysconfdir}/roundcubemail  mkdir -p %{buildroot}%{_sysconfdir}/logrotate.d  cp -pr %SOURCE2 %{buildroot}%{_sysconfdir}/logrotate.d/roundcubemail +%if 0%{?rhel} == 5 || 0%{?rhel} == 6 +: Remove "su" option from logrotate configuration file - requires logrotate 3.8+ +sed -e '/su /d' -i %{buildroot}%{_sysconfdir}/logrotate.d/roundcubemail +%endif +  # Log files  mkdir -p %{buildroot}/var/log/roundcubemail  # Temp files @@ -268,6 +273,10 @@ rm -rf %{buildroot}  %changelog +* Tue Aug 11 2015 Remi Collet <remi@fedoraproject.org> - 1.1.2-2 +- Remove "su" option from logrotate configuration file (requires +  logrotate >= 3.8.0) to avoid daily logrotate errors with old RHEL +  * Fri Jun  5 2015 Remi Collet <remi@fedoraproject.org> - 1.1.2-1  - update to 1.1.2  | 
