diff options
author | Remi Collet <remi@remirepo.net> | 2020-05-05 12:19:55 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2020-05-05 12:19:55 +0200 |
commit | 304bde86048ca25ebd916122f6c4065c1251fcc1 (patch) | |
tree | 4fc08739aff76088a4ec2e13879dabd2591041eb /roundcubemail.spec | |
parent | 20530719413d03c2df8d8abd0920b31940628b5f (diff) |
fix logrotate configuration file permissions
https://github.com/remicollet/remirepo/issues/145
Diffstat (limited to 'roundcubemail.spec')
-rw-r--r-- | roundcubemail.spec | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/roundcubemail.spec b/roundcubemail.spec index a618ea9..57012d2 100644 --- a/roundcubemail.spec +++ b/roundcubemail.spec @@ -24,7 +24,7 @@ %global _logdir /var/log Name: roundcubemail Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}} -Release: 1%{?dist} +Release: 2%{?dist} Summary: Round Cube Webmail is a browser-based multilingual IMAP client # Since 0.8 beta, the main code has been GPLv3+ with exceptions and @@ -248,8 +248,7 @@ install -Dpm 0644 %{SOURCE3} %{buildroot}/%{_sysconfdir}/nginx/default.d/%{name} %endif mkdir -p %{buildroot}%{_sysconfdir}/roundcubemail -mkdir -p %{buildroot}%{_sysconfdir}/logrotate.d -cp -pr %SOURCE2 %{buildroot}%{_sysconfdir}/logrotate.d/roundcubemail +install -pDm644 %{SOURCE2} %{buildroot}%{_sysconfdir}/logrotate.d/roundcubemail %if 0%{?rhel} == 5 || 0%{?rhel} == 6 : Remove "su" option from logrotate configuration file - requires logrotate 3.8+ @@ -350,6 +349,10 @@ fi %changelog +* Tue May 5 2020 Remi Collet <remi@remirepo.net> - 1.4.4-2 +- fix logrotate configuration file permissions + https://github.com/remicollet/remirepo/issues/145 + * Thu Apr 30 2020 Remi Collet <remi@remirepo.net> - 1.4.4-1 - update to 1.4.4 |