From 304bde86048ca25ebd916122f6c4065c1251fcc1 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 5 May 2020 12:19:55 +0200 Subject: fix logrotate configuration file permissions https://github.com/remicollet/remirepo/issues/145 --- roundcubemail.spec | 9 ++++++--- 1 file 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 - 1.4.4-2 +- fix logrotate configuration file permissions + https://github.com/remicollet/remirepo/issues/145 + * Thu Apr 30 2020 Remi Collet - 1.4.4-1 - update to 1.4.4 -- cgit