summaryrefslogtreecommitdiffstats
path: root/roundcubemail.spec
diff options
context:
space:
mode:
Diffstat (limited to 'roundcubemail.spec')
-rw-r--r--roundcubemail.spec9
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